Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 7th, 2006, 09:55 AM
Authorized User
 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to find about back and forward buttons on the

Hi
All my friends please help me to find out about how can i understand
which the user presses the [u]Back </u>or [u]Forward </u>button and how to
clear [u]History</u>

G11Shahab ,
Best wishes
__________________
To be want to is to be able to.
Thanks , Best wishes

Shahab
 
Old September 9th, 2006, 07:24 AM
Authorized User
 
Join Date: Jun 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb
Default

>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









Similar Threads
Thread Thread Starter Forum Replies Last Post
Back/Forward messing up my XSL ... asearle XSLT 0 January 31st, 2007 11:14 AM
history.back or hitting the back button won't work lian_a Classic ASP Basics 4 July 29th, 2004 12:14 AM
Forward booking rahilahmed Pro VB Databases 1 June 16th, 2004 06:02 PM
Forward Booking rahilahmed Excel VBA 0 May 24th, 2004 09:25 AM
how to disable IE Back,Forward and Refresh buttons pigtail Javascript 3 May 1st, 2004 02:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.