...

View Full Version : Blocking a javascript function



Ken_rgr
12-21-2007, 08:25 PM
How to block a javascript function from executing.
I have a javascript function named popup() which is added
to <body onunload ="popup()">.
This will popup a small window when the user closes or moves from
the current page.
Unfortunately this popup is being generated even when I click on Submit
button onthe current page.
Is there any way can we make this function not to work on
Subumit button click.

Any help will be appreciated.

Thanks

_Aerospace_Eng_
12-21-2007, 08:27 PM
Can you post a link to your page? It sounds like you are trying to circumvent some advertisements on your free web host. You get what you pay for.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum