shelane / jqueryselectcombo

jQuery plugin for populating select options based on selection of another select option.
0 stars 0 forks source link

IE error - Could not set the selected property #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using jquery.selectCombo1.2.1.js

Code works great on Firefox, Windows and Linux.

Internet Explorer 6 on Win XP also works, but with JS warning icon.

"Could not set the selected property. Invalid index."

Running the demo http://lasso.pro/selectCombo/
on IE 6 gives
"Could not set the selected property. Unspecified error."

Original issue reported on code.google.com by yeesoont...@gmail.com on 12 Nov 2007 at 10:03

GoogleCodeExporter commented 8 years ago
Had the same Error ...
Could fix it, by inserting an empty <option value="">--  --</option>

<select name="doglist" id="doglist">
   <option value="">--  --</option>
</select>

MSIE 6 seams to fail with the select-field, as long as no option-child is 
available.

Original comment by li...@platform.ch on 14 Dec 2007 at 7:46

GoogleCodeExporter commented 8 years ago
use try catch

Original comment by roby.vin...@gmail.com on 31 Mar 2010 at 10:53