Hi guys,
Is there any way i can trap the click event of the close, refresh,
back,home and the forward button? Also i need this to work for both
firefox and IE. I'm new to JS so please make it as simple as possible.
Thanks in advance
ganesh
RobG - 31 Aug 2006 07:42 GMT
> Hi guys,
>
> Is there any way i can trap the click event of the close, refresh,
> back,home and the forward button? Also i need this to work for both
> firefox and IE. I'm new to JS so please make it as simple as possible.
Not with JavaScript. Some of those actions may cause a load or an
unload event to occur and you can usually make things happen when they
do (but not 100% reliably). You can't trap events that aren't part of
the document or window event model.

Signature
Rob
Richard Cornford - 31 Aug 2006 08:05 GMT
> Is there any way i can trap the click event of the close,
> refresh, back,home and the forward button?
No.
> Also i need this to work for both firefox and IE.
"Need"?
> I'm new to JS so please make it as simple as possible.
;)
Richard.