Ext.getDom works in ff but not in ie7 issue
I am using this bit of code to load data after a call to the server.
Ext.getDom('currLoc').textContent = 'some data...';
<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.
Instead of using getDom, you should use Ext.fly('currLoc').update('some text');
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.
Sencha - Ext JS Dev Team
ie not has textContent