Hi!

I try to add options to an empty select with DomHelper.append and insertFirst, but it faild in IE. The same code works in FF.
HTML Code:
<select id="country">
<option value="-1" selected="selected">Loading country list...</option>
</select>
Code:
Ext.DomHelper.append('country',[

{tag:'option', cls:'some-class', html:'1', value:'1'},
{tag:'option', cls:'some-class', html:'2', value:'2'} ] );
It worked in both browser only if i rebuild the whole select with options as cn: attribute.
Code:
Ext.DomHelper.append('tdiv',{ tag:'select', cls:'some-class', name:'country', value:'1', cn:[ {tag:'option', html:'One', value:'1'},
{tag:'option', html:'Two', value:'2'}, {tag:'option', html:'Three', value:'3'}, {tag:'option', html:'Four', value:'4'} ] } );
Other DomHelper operations worked in both browser (add li to ul; add p to div;...) only options failed in IE.

Do i use it wrong way? Is it possible to add options to (almost) empty select?

Thanks!

snemeth72