You need to call e.preventDefault() aswell. Or just use e.stop();

On 4/4/06, Melkor <[EMAIL PROTECTED]> wrote:
>
> I'm connecting anchors (<a>) with a signal that calls the
> event.stopPropagation() method. My intent is for the anchor not to be
> followed. Previously I had this code that worked:
>
> <a href = "#" onclick = "handler(this);return false;">Text</a>
>
> But now the link is being followed, making the anchor loose its focus.
>
> What I'm doing wrong?
>
> Thanks,
> Pablo
>
>
> >
>


--
troels

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to