Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74819

How to submit form in which ? is used instead of = on GET method

$
0
0

The form structure would be something like this:

<form target="site.url/search/">
<input type="text" name="keyword" value="a">
</form>

How do I submit it where instead of this:

https://site.url/search/keyword=a

It would end up like this:

https://site.url/search/keyword?a


I am thinking another approach as well where the target url would be:

https://site.url/search/keyword?

And then find a way to get the text field value but not include the text field name so it immediately attaches to the tail end of the url, like this.

https://site.url/search/keyword?myKeyword

Is this possible?


Viewing all articles
Browse latest Browse all 74819

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>