I have a js function which is called onchange of a drop-down. It works in FF, IE6 and 7 and Safari. In IE8 however the function breaks at the following line.
document.getElementById("shipModeId_1").options[document.getElementById("shipModeId_1").options.length]
= Option(ship_modeId,selcted);
It says Object doesn't support this property or method. Any idea why this is happening?
Thanks,
Sarego
ship_modeId
,selcted
, andOption
?