PDA

View Full Version : DomHelper-Bug with IE



masa2
3 Apr 2007, 7:37 AM
Hi,
I create several option tags for a select element using DomHelper.append:

dh = Ext.DomHelper;
dh.append(this.dayField, {tag: 'option', value: value, html: text});

It works in FF but the options were missing for IE 7.
After setting the dom switch:

dh = Ext.DomHelper;
dh.useDom=true;
dh.append(this.dayField, {tag: 'option', value: value, html: text});
it works.
Is anybody having the same problem?
The problem occurs with new beta-version.

jack.slocum
3 Apr 2007, 8:31 AM
Theres a thread in this forum about this. IE does not support dynamic option creation using HTML. There is no workaround.