I want to take a form input box (think search box) and have it so that when someone types in a search term and hits 'search' the page reloads.
Does that make sense? If so, anyone know the code i would need to achieve this?
Regards,
Lee
I want to take a form input box (think search box) and have it so that when someone types in a search term and hits 'search' the page reloads.
Does that make sense? If so, anyone know the code i would need to achieve this?
Regards,
Lee
Well it depends on if your using php.
Lets say that you were using php for your main (index.php) page with the form, you would have your code on the same page and do it like this:
<form name="myform" method="POST" action="index.php">
<input type="text" name="yourtext" size="50" maxlength="255">
<input type="submit" name="Submit" value="Submit">
</form>
So when the user submits the form, it will come back here automataclly with a reloaded page.
Check out my example: http://epicmen.com/ttt.php
Bookmarks