trap of click event for firefox and IE

F

fuehrer

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
 
R

RobG

fuehrer said:
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.
 
R

Richard Cornford

fuehrer said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top