>button and how to clear History
You cannot "clear" history this would be a security risk. There is a method to replace the value that I find sketchy at best with some IE browsers
replace Method
The replace method replaces the current History entry with the specified URL. After calling the replace method, you cannot navigate back to the previous URL using the browser's Back button.
Syntax: location.replace(URL)
I am quoting information from
http://www.devguru.com/ .
Earl