My script works successfully when I validate a form field using;
<input type="submit" onClick="return chkrange(this.form)"
But, when I remove the onclick from the input type and try to use
onSubmit="return chkrange(this.form)" within the <form> tag it doesn't work
Why not?