javascript - Mootools - Scope problem in IE -


im starting play mootools not sure why following hide me options in select list, in ie not:

<select id="test_select" multiple>         <option>a</option>         <option>b</option>         <option>c</option> </select>  $$('#test_select option').each(function(el){         el.addclass('hide'); }); 

i appreciate bit of on this...

to hide option in select must remove option select in ie.

here explanation in further detail hide option in select

to remove option element select w/ mootools can following: jsfiddle

$$('#test_select option').each(function(el){         if(el.get("html") == 'a')             el.destroy(); }); 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -