I’ve got a simple select input and I’m using jQuery’s .val() to get the selection from it.
For some reason, it is throwing a “Object doesn’t support this property or method” error in Internet Explorer 8, the first error I’ve ever seen jQuery actaully throw.
I’ve replicated this error at http://jsfiddle.net/gWvwS
What am I doing wrong? Seems pretty straight forward to me…
Your document contains an element with name
display_entry_form. In IE, named elements are globally accessible through their name. So, you have to either usevar(to declare a new, local variable[Need verification]), or choose another name.Fiddle http://jsfiddle.net/gWvwS/5/