mrran
23 Apr 2007, 1:55 PM
Hey. i'm having a weird problem with multiple comobos in IE.
in FF it works perfect without any errors at the error console.
here is the code.
while (document.getElementsByTagName('select').length > 0) {
var spans = document.getElementsByTagName('select');
if (spans.length){
new Ext.form.ComboBox({
typeAhead: true,
triggerAction: 'all',
transform:spans[0]
});
}
}
it should transform all selects in a page to combo box, however, in IE (7) when i load that page it says
'Internet explorer cannot open the Internet site
http://.......
Operation aborted'
any thoughts? any help would be appreciated. thanks in advanced!
in FF it works perfect without any errors at the error console.
here is the code.
while (document.getElementsByTagName('select').length > 0) {
var spans = document.getElementsByTagName('select');
if (spans.length){
new Ext.form.ComboBox({
typeAhead: true,
triggerAction: 'all',
transform:spans[0]
});
}
}
it should transform all selects in a page to combo box, however, in IE (7) when i load that page it says
'Internet explorer cannot open the Internet site
http://.......
Operation aborted'
any thoughts? any help would be appreciated. thanks in advanced!