[jQuery] Re: Checking for popup blocker when using click()

2007-08-15 Thread SeViR
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

[jQuery] Re: Checking for popup blocker when using click()

2007-08-14 Thread Geoff
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

[jQuery] Re: Checking for popup blocker when using click()

2007-08-13 Thread SeViR
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

[jQuery] Re: Checking for popup blocker when using click()

2007-08-13 Thread Stephan Beal
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

[jQuery] Re: Checking for popup blocker when using click()

2007-08-13 Thread Geoff
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

[jQuery] Re: Checking for popup blocker when using click()

2007-08-13 Thread Tane Piper
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