The proper event for form submittion is:
HTML:
form id=myForm action= method=post
input type=submit value=send
/form
JS:
$(#myForm).submit(function(){
return false; //- if return false cancel submittion. By example
for AJAX submittion.
});
When you click in submit button, submit event
Geoff escribió:
My aim is not to disable the pop up blocker, just to check if it is
present and show an error or notification to the user. Its not a pop
up, its opening an external website in a new window / tab.
Thanks!
Popup blockers treats any window.open as popup in some cases:
If the
I'm very interested in your second example with the $
(a.external).click... how would you do a similar thing when
submitting a form? I'm actually calling click() on a input
type=submit/
Thanks :)
Geoff
On Aug 14, 7:09 am, SeViR [EMAIL PROTECTED] wrote:
Geoff escribió: My aim is not to disable
Hi Geoff,
I think the point of popup blockers is that they should be
non-detectable, otherwise every spam site would just disable it and it
would be useless.
Instead of a popup, why not use something like a modal element, which
allows you to have popup/alert like functionality by appending a
My aim is not to disable the pop up blocker, just to check if it is
present and show an error or notification to the user. Its not a pop
up, its opening an external website in a new window / tab.
Thanks!
On Aug 13, 7:44 pm, Tane Piper [EMAIL PROTECTED]
wrote:
Hi Geoff,
I think the point of
5 matches
Mail list logo