Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing form item

Status
Not open for further replies.

shawkz

Programmer
Joined
Oct 25, 2005
Messages
84
Location
GB
Hi, when i select an item from a list on a form and submit the form to another page then go back to the previous page by selecting the back button i can see what item i selected on the list still. How can i clear this so when i go back - nothing is selected?

kindest regards,

Steve Hawkz
 
Have you tried creating a clear() function which does what you need and is called on the BODY tag's ONLOAD event?

Dave

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...east is east and west is west and if you take cranberries and stew them like applesauce
they taste much more like prunes than rhubarb does
[infinity]
 
You may have a situation with firefox...it seems to keep the form fields selected
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top