Event.stop(event); Is the line T.J is hinting at.
Equally for those who have yet to discover it. var e = Event.element(event); Will give you the element that has triggered the event, this is highly useful for when you use "bubbling". Chris On 27 February 2011 09:18, T.J. Crowder <t...@crowdersoftware.com> wrote: > On Feb 26, 5:50 pm, Steffen <stbl...@googlemail.com> wrote: >> Issue is fixed. Never use <a>-onclick to trigger your ajax >> invocation..... > > Or if you do, be sure you cancel the click on the anchor! > > -- T.J. :-) > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To post to this group, send email to prototype-scriptaculous@googlegroups.com. > To unsubscribe from this group, send email to > prototype-scriptaculous+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.