I have a submit button:
I'd like to cancel mouse click inside the function checkIt() in case some condition is true (e.g. some data is missing).
Thanks a lot in advance!
---
---
Code:
<input type="submit" name="sub1" onclick="checkIt()">
I'd like to cancel mouse click inside the function checkIt() in case some condition is true (e.g. some data is missing).
Thanks a lot in advance!
---
---