I have a form that needs to do 2 things when the submit button is clicked:
1. validate (jQuery code working correctly)
2. show a popup window "Please wait" message (also working)
But since I added the onclick to the button, it no longer validates. I'm sure it's order of operations. Can someone please show the right way to accomplish both?
Code for item #1:
from function like:
and modify calling like:
<input class='pill-button' type='submit' name="DB" value='Start' onclick="return showWait()"/>