I dug this plugin up from the mail list. Don't know whether it's up to date though.
Blair
That is an old version. I have a newer version available at:
http://www.texotela.co.uk/code/jquery/select/
To add multiple options:
var myOptions = {
"Value 1" : "Text 1",
"Value 2" : "Text 2",
"Value 3" : "Text 3"
}
$("#myselect2").addOption(myOptions, false); // use true if you want to select the added options
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
