By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,570 Members | 999 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,570 IT Pros & Developers. It's quick & easy.

trap of click event for firefox and IE

P: n/a
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

Aug 31 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
fuehrer wrote:
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.
--
Rob

Aug 31 '06 #2

P: n/a
fuehrer wrote:
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.
Aug 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.