> As of 1.0.3 I believe you can do this with straight
> HTML across all browsers.
> $('#optionElm').append('<option value="">Name</option>');

If it doesn't work, please file a bug. I was the suspect last seen in the
vicinity of that code, and it worked for me.

Browser bugs have been reported here that some attributes don't carry over
(in both FF and IE) when you move form-related DOM elements around. For
example, I think you may need to set the selectedIndex attribute of the
select to get the correct index set after appending elements; it may not pay
attention to an appended option with a "selected" attribute. Similarly, I
think checkboxes become unchecked when you move them in FF. We've had some
threads about it but I can't find them offhand. 

Really, I can't see the reason why the original plugin doesn't work; I
looked through the code quickly but nothing stuck out. A demo page would
help. You've got the most recent version, right?
http://www.texotela.co.uk/code/jquery/select/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to