Can you advice me how to remove get parameter (input text) without removing the value of the input or disabling it? Is this possible at all?
A:
The easiest way would be to switch to the POST method when submitting your form. This way the parameters aren't passed by the Url anymore but rather in the HTTP header which is not visible.
Kosi2801
2009-09-10 15:35:01
This will break bookmarking, link sharing and all the other things that make GET useful.
David Dorward
2009-09-10 15:46:28
A:
You can place the text field outside the form
OR
you could use Javascript
and remove that particular parameter before sending the request.
The javascript
method will give you more flexibility.
Virat Kadaru
2009-09-10 15:42:14
Yes, javascript is good idea. The system on which I'm working on is using jQuery, and tay to use the "submit(fnc)" function which callback function parameter is eventObject, but through this object 'm accessing only the eventTarget which is the form.
bozhidarc
2009-09-10 16:00:02