Is the current page the last in the history array?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Walter_Conti
Posted On:   Friday, July 4, 2003 08:03 PM

Need to know if the current page is the last in the history array. Theoretically "history[history.length-1] == window.location.href" should do it but
history[...],
history.current,
history.previous,
history.next,
return "undefined". Working with IE 6.0.
Is it a security problem? Scant references in the Internet.
What else can be done?

Thanks for helping.

Re: Is the current page the last in the history array?

Posted By:   Nitesh_Naveen  
Posted On:   Monday, July 7, 2003 02:01 AM

the current page is not included in the history array until you navigate away from the page. The current page is the 'present' and not 'history' yet. What is your reqirement?
About | Sitemap | Contact