I have an old application that didnt use jquery.
so
is an HTML select object.
This code gives an error, that value is not set in the second line of:
for (var i in so.options){
if(so.options[i].value=='X') {
// do something
}
}
It works in Firefox though. How can I catch this without jquery?