I have a form text box that I need to validate. I need to validate that a number greater than zero is entered and it cannot be blank.
I thought they would be easy, but my script constantly fails.
Can someone assist? Thank you.
I am sending the number to the script like this:
<input type="button" id="myNumber" name="Submit" value="Submit" onclick="execute(document.getElementById('myNumber').value);">