Hi there,
I got a problem on using form submit method. In my code, i defined a "button" type input, and intended to submit the form using submit method, but it always failed. anyone can help me?
my code like this
<form name = "myform" method ="post" action = "actionfile.asp">
<input type = "button" name = "submit" value = "submit" onclick = "javascript: document.myform.submit()">
</form>
If I changed the input type to "submit", it worked fine. so I am pretty sure the submit method didn't work properly. How to correct it?
Thanks