1. #1
    Sencha Premium Member
    Join Date
    Oct 2007
    Posts
    121
    Vote Rating
    1
    twosouth is on a distinguished road

      0  

    Default Ext.getDom works in ff but not in ie7 issue

    Ext.getDom works in ff but not in ie7 issue


    Hey All,

    I am using this bit of code to load data after a call to the server.

    JS...

    Ext.getDom('currLoc').textContent = 'some data...';

    HTML...
    <td width="230" id="currLoc" class="constants-red"></td>

    The Ext.getDom works great if FF but I can't seem to get it to work in IE7. I am just updating text in a table.

    Any thoughts?

    Thanks,
    Scott

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    getDom works perfectly in IE:
    http://www.webmasterworld.com/forum91/5016.htm

  3. #3
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Instead of using getDom, you should use Ext.fly('currLoc').update('some text');

  4. #4
    Sencha Premium Member
    Join Date
    Oct 2007
    Posts
    121
    Vote Rating
    1
    twosouth is on a distinguished road

      0  

    Default


    Thanks J,

    I had the same problem with Ext.fly...and sad to say I cheated and went with the following:

    document.getElementById('x-form-el-newNextAvailable').innerHTML = nextAvailable;

    which ended up placing the data as I'd hoped but wrecked the style by placing it a few pixels to high so that the horizontal label is lower than the data...sheesh.

    I'm sure I've missed something very basic though I don't know what just yet.

    Scott

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,501
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Ext.onReady

  6. #6
    Ext User
    Join Date
    Jun 2008
    Posts
    94
    Vote Rating
    0
    peacock is on a distinguished road

      0  

    Default


    ie not has textContent
    use innerText

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi