I am trying to submit a form through onclick event on tag. I have tried triggering document.myform.submit(), this.form.submit(), parentNode.submit() etc. but none of this i
If jquery is allowed then you can use following code to implement it in the easiest way as :
Login
or
You can use following line in your head tag () to import jquery into your code