9 Aug 2008 12:17 AM #1
I need to understand the difference.
//This works in both explorer and in firefox
document.getElementById('submit').disabled = false;
//This does not work with neither explorer nor firefox
//I have tried all four variants
Ext.get('submit').disabled = false;
Ext.get('submit').disable = false;
Ext.get('submit').enable = true
Greatful for some advice what I am doing wrong.
9 Aug 2008 2:09 AM #2
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
Ext.get() returns an Ext.Element, not a HTML node!
Ext.get('submit').dom.disabled = false;
Ext.getDom('submit').disabled = false;