onChange this.form.submit
I'm having a hell of time trying to figure out what's wrong with this. I simply want a drop down list to auto-submit a form when someone selects something from it. This is what it looks like:
<select name="record_id" onChange="this.form.submit();">
<option value='2'>Blue</option>
<option value='3'>Red</option>
</select>
I've done this dozens of times before.
But when I select an option from it I get the following error:
"Object doesn't support this property or method"
Since WHEN?!
I did a google search to see if anyone else has had this problem and all I get back are tons and tons of examples of people using this exact method without a hitch.
What am I missing?!
Current Mood:
frustrated