The action attribute of the get request form cannot have parameters

If the form action attribute of the GET request already contains parameters, the browser will directly filter them out and append the form data.

Therefore, no parameters can be attached to the action attribute of the form in the GET request mode. If additional parameters are required, the following methods can be used:


1. Change get to post

2. Add hidden fields, for example: <input name="test" type="hidden" value="yourvalues">

3. Bind click events through js, generally it is not recommended to use js

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325896682&siteId=291194637