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
Printable View
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 think you would just specify the landing page within your input box script as the same page, thus reloading it, but I am not totally sure on that one.
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:
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