I'm working on validating a form and running into a ridiculous error... Even in a simple example the code seems to explode.
The error I'm getting is "missing ; before statement" (Firefox Error Console). The arrow points to the "submit" part of the statement. The form name in the document is submit, and the radio buttons are all named 1_radio. Does this maybe have something to do with the fact that the form is within a div?
Code:
function simpleTest() { var please = document.submit.1_radio; if(NoneWithCheck(please)) { alert("Hey listen"); } }
Comment