Don't use the javascript: protocol when the script is not in an url.
Accessing elements as if they were global variables only works in some browsers and only in quirks mode. You can either access the form from the properties in the select element, or use the getElementById method:
onchange="this.form.submit
or
onchange="document.getElem
Main Topics
Browse All Topics





by: cb1393Posted on 2008-12-01 at 10:09:45ID: 23070839
It has to do with your hidden submit field:
<input name="submit" type="hidden" value="submit" />
Remove that and it should work fine, or change the name of the field to something other than "submit"