[jQuery] Re: Stop Default Event

2007-08-31 Thread Rafael Santos
Thx Larry... ill try it next time. ah, sometimes there are unclosed html tags that makes anchors trigger doesn't be stopped. Usually isnt my fault hehe... anyway... If i found a recent demo I'll post it here. On 8/30/07, Larry Garfield [EMAIL PROTECTED] wrote: I usually do:

[jQuery] Re: Stop Default Event

2007-08-30 Thread John Resig
When does return false not work? --John On 8/30/07, Rafael Santos [EMAIL PROTECTED] wrote: Are there anyone who have a snippet to really prevent the something is fired. Sometimes my return false doesn't work on FF, IE6 and IE7. hehe =( And i see mootools can do something like this:

[jQuery] Re: Stop Default Event

2007-08-30 Thread Larry Garfield
I usually do: $().bind('click', function(event) { event.preventDefault(). ... }); On Thursday 30 August 2007, Rafael Santos wrote: Are there anyone who have a snippet to really prevent the something is fired. Sometimes my return false doesn't work on FF, IE6 and IE7. hehe =( And i see