[jQuery] Re: Stopping click event action in safari 1.3 ( click(function(){return false;}); )

2008-01-09 Thread Klaus Hartl
On 9 Jan., 18:13, Dan Eastwell [EMAIL PROTECTED] wrote: No one? I would have thought it was fairly common... It is common. As far as I remember Safari 1.3 and even 2.0 does not support preventDefault nor return false to stop an event's default action, if you attach events dynamically via the

[jQuery] Re: Stopping click event action in safari 1.3 ( click(function(){return false;}); )

2008-01-09 Thread Dan Eastwell
Thanks Klaus, I'll have to rewrite my functions for that. I'm sure it's no great headache. For what it's worth, I've set up a test case here: http://test.danieleastwell.co.uk/_fRefit08/_format/_templates/temp.html Thanks again for your reply. Do you know how the ui.tabs plug in covers this

[jQuery] Re: Stopping click event action in safari 1.3 ( click(function(){return false;}); )

2008-01-09 Thread Klaus Hartl
On 9 Jan., 19:14, Dan Eastwell [EMAIL PROTECTED] wrote: Thanks Klaus, I'll have to rewrite my functions for that. I'm sure it's no great headache. Before rewriting, have you tried the following? // attach event handler the usual way var $a = $('a'); $a.click(function() { ... }); // be nice