PDA

View Full Version : Displaying textbox values even after doing history.back which takes to the empty form


divyesh_82
08-01-2006, 12:30 PM
Hi,

I am having one html form for search utility. Once i do the search by typing some value in the textbox, results are getting displayed.

Now i have one back link which goes back to the previous page. When i click this it is going back to the previous page, but still displays the search text which is not desired. Form should be blank as per the initial state.

This is happening only in IE and NN. Firefox is ok.

Any solution?

Thanks,
Divyesh
Edit/Delete Message

Arbitrator
08-01-2006, 12:55 PM
Try using a link specifically to the page you wish to go back to instead of history.back. You might also be able to clear the form by removing the value via window.onload.