i am new to javascript and
i have this manual titled "Javascript Programer's Reference" by Cliff Wooton.
i was just wandering if there really is an "onBack ,onForward and onRefresh" event handlers as written in this manual.
the manual says -"trigers when The user has clicked on the [FORWARD] button".
I believe BabyJeffy is correct. However, there are several javascript libraries that solve this problem using a hidden iframe and the URL hash. The Yahoo User Interface(YUI) is one library that solves this problem. You could look at the source code or use the library.
1. If you've got the code, why not try it for yourself and find out? It would have taken less time to knock up a quick test harness that it would have done to type your post.
2. Just how old is this book, and what browsers does it claim these events are supported by? My guess is 'old' and 'none'.
3. If you get no joy, you could read up on the "onbeforeunload" and "onunload" events to see if they help.
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.