What happens if the action field in a <form> has parameters?

前端 未结 4 1719
予麋鹿
予麋鹿 2020-12-01 10:14

Is there a well-supported, common behavior that I can expect if I do something like this in HTML:

4条回答
  •  一个人的身影
    2020-12-01 10:48

    You could change the method attribute in the form to "POST" with script before posting the form, so there could be a use for the query string in the action. It hardly seems to be the best solution for anything, though.

提交回复
热议问题