Results 1 to 9 of 9
Apr 1, 2012, 09:11 #1
- Join Date
- Feb 2009
- British Columbia, Canada
- 0 Post(s)
- 0 Thread(s)
How to clear/refresh a search form
I've been reading the online php documentation but I find it to be over my head a lot of the time, so thought I'd ask this (probably) simple question here.
Rather than putting a note on the search page instructing the user to hit reload/refresh in their browser each time they land on the page using the back button, I'd like to include some coding to make that happen automatically.
I've tried including: <meta http-equiv="pragma" content="no-cache"><meta http-equiv="expires" content="-1"> in the head area but that doesn't clear the fields. I've also tried adding (instead of the previous code) <meta http-equiv="refresh" content="600"> but that doesn't work either.
Any suggestions? I know this is more an html question than php but since the search fields are inside php tags I figured I'd better ask here, just in case.