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
Clean and simple:
Submit
In case of opening form action url in a new tab (target="_blank"):
action
target="_blank"