javascript submit form onclick not working

 

 

 

 

Sometimes javascript is used to check the input values before submitting to the handling file. onclick: script: Submit forms are everywhere these days, and usually done with jQuery. onclick"document.form.submit() or submitting in another function works and form variables are