ertaboy356b
Old School Gamer
- Reaction score
- 86
So I am writing a small mobile site.. I had everything dynamically.. sample:
everything is stored in index.html.. This site has a search function where you can search images and videos and download it from the internet.
I have this form:
so when you do a search, the page=images disappears and is replaced by ?s=searchword.. how do i pass the get parameters so it would appear as ?page=images&s=searchword????
Code:
mysite.com?page=videos
mysite.com?page=home
mysite.com?page=images
everything is stored in index.html.. This site has a search function where you can search images and videos and download it from the internet.
I have this form:
Code:
<form name="1" method="get" action="index.html?page=images">
<input type="text" name="s" />
<input type="submit" value="Submit" />
</form>
so when you do a search, the page=images disappears and is replaced by ?s=searchword.. how do i pass the get parameters so it would appear as ?page=images&s=searchword????