The jQuery UI Selectmenu plugin presented here: http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html
I have a couple of problems with this plugin. I will focus only on what happens only in IE.
I have html:
<label for="SearchState"></label> <select style="width: 160px" name="SearchState" id="SearchState"> <option>CT</option> <option>MA</option> <option>NH</option> </select>
and jQuery:
$('select#SearchState').selectmenu();
In Firefox, this works, however in IE I get an error while loading:
"Invalid argument" - jquery 1.4.2 Line: 4618
However, a new stylish selectmenu appears along with the original one (this is by design, but the original html selection menu should be hidden), but when I click the parameter, I get several of these errors:
"this._optionList" is null or not an object - ui.selectmenu.js String 400
Any ideas why this is not working in IE?
Lines 399-401 of ui.selectmenu.js
_selectedOptionLi: function() { return this._optionLis.eq(this._selectedIndex()); },
Lines 4615-4622 of jquery-1.4.1.js
name = name.replace(rdashAlpha, fcamelCase); if ( set ) { style[ name ] = value; } return style[ name ];
kralco626
source share