[jQuery] .addOption/.removeOption broke in jq1.1?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Courier New, Courier, monospace">Hi folks,
I'm using Sam Collett's plug-in to add and remove options from a select
list, and under jQuery 1.1a it breaks.
for(i = 0; i < ClientData.shifts.length; i++){
$("##Shift_ID").addOption(ClientData.shifts[i].shiftcode + "~" +
ClientData.shifts[i].shiftid + "~" + ClientData.shifts[i].shiftname,
ClientData.shifts[i].shiftname, false);
}
The above code used to work and now it doesn't. The specific error is
"object doesn't support this property or method".
Any ideas? Short enough, Jörn? ;o)
Chris
</font></font>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.cjordan.info">http://www.cjordan.info</a></pre>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/