You're looking for preventDefault(), not stopPropagation(). FYI, preventDefault() doesn't work in Safari on <a> elements.
On 4-Apr-06, at 7:29 AM, Melkor 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? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---