The proper event for form submittion is:
HTML:
JS:
$("#myForm").submit(function(){
return false; //<- if return false cancel submittion. By example
for AJAX submittion.
});
When you click in submit button, "submit" event is triggered. You can not
need catch the click event in input b
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
Thanks :)
Geoff
On Aug 14, 7:09 am, SeViR <[EMAIL PROTECTED]> wrote:
> Geoff escribió:> My aim is not to disable the pop up b
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 p
On Aug 13, 11:05 pm, Geoff <[EMAIL PROTECTED]> wrote:
> 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.
There is no generic way of checking wheth
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 poin
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 div
6 matches
Mail list logo