On Jul 8, 2009, at 11:47 AM, MorningZ wrote:
I see this (stopping links in their tracks) a lot and it's puzzling, so i think: *if you do not want an <a> to actually follow a link, then don't use an <a>, use a <span> or something instead and use CSS to make it look like a link to the user* That will 100% solve all issues with a hyperlink acting like, well, a hyperlink :-)
The problem with using a <span> in those cases is that it isn't accessible. Links can be focused. You can tab to them and press Enter/ Return, and the click event will fire. Not so with spans.
--Karl ____________ Karl Swedberg www.englishrules.com www.learningjquery.com