How to remove get param on form submit?

Can you please advise me how to remove the get (text input) parameter without deleting the input value or disabling it? Is this even possible?

+2
html parameters get submit forms


source to share


3 answers


Remove the name from the input.



+4


source to share


You can put the textbox outside the form

OR



you can use Javascript

and remove this specific parameter before submitting the request.

The method Javascript

will give you a lot of flexibility.

0


source to share


The easiest way is to switch to the POST method when submitting the form. This way the parameters are no longer passed by Url, but rather in the HTTP header that is not displayed.

-1


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics