form ignores 'POST'
so..I have a form wit开发者_StackOverflow社区h method='post' set.
<form action='/${languageLinkCode}html/reservation' method='POST' name='homeform'>
//fields
<button>Submit</button>
</form>
when i click the submit button, it always uses 'GET' instead of 'POST'
I've trieddocument.forms['homeform'].submit(); as well
Am I doing something wrong here?
There is no space before name
. Please validate your HTML.
You are missing a space between 'POST' and "name":
<form action='/${languageLinkCode}html/reservation' method='POST' name='homeform'>
精彩评论