I would like to Submit my page on click of a button. I am not able to figure out how I could do this, could you please help.
I had added the <form> tags and tried using the JS way of doing the submit:
function submitform() {
document.forms["myform"].submit();
}
But this is erroring out with the JS error
I think I am doing something fundamentally wrong.
I had added the <form> tags and tried using the JS way of doing the submit:
function submitform() {
document.forms["myform"].submit();
}
I think I am doing something fundamentally wrong.