You can use history.go(-1) to go back.
Also, there is document.referrer string, but it could be empty.

On Jan 18, 2008 5:24 PM, Simon Cockayne <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I am on a webpage...how do I know what page the browser was previously
> showing.
>
> I think Javascript History object is the ticket...but STRICT mode in
> Firefox seems to tell me that I don't have permission to access it.
>
> NOTE: I don't want to use the History object to go back or forward...I
> just want to know what the previous page was...so I can create a button to
> go back to it...
>
> Cheers,
>
> Simon
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> *******************************************************************




-- 
Алексей

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to