Hi Karl, Thanks for the suggestion! I think that's me still thinking of cancelling handelers manually, not sure if it was helping or not.
Anyway, it's made no difference - I'm wondering if anyone else has come across a similar problem, and solved it, or can shed some insight into what may be causing problems like this? Dave On Dec 6, 2:59 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Dave, > > It could be the return(false). Try removing that line and see what > happens. You already have the e.preventDefault() in there anyway. > > --Karl > > ____________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Dec 5, 2008, at 6:47 PM, dave wrote: > > > > > > > Hi jQueriers, > > > Bumped into an oddity on Safari and Chrome. I have a HTML page and I > > want to intercept all <a> links and feed them through an ajax request > > instead. So I first do this > > > $("a").bind("click",handleAjaxifiedLink); > > > which routes clicks to > > > function handleAjaxifiedLink(e) { > > e.preventDefault(); > > loadPage(e.target.href); > > return(false); > > } > > > This works under IE and Firefox, but Chrome and Safari just seem to > > ignore it. Am I missing something really obvious? I don't run Safari > > and the debugger in chrome is unhelpful, to say the least. > > > Examples of code athttp://dev.welovekaoru.client.tandot.co.uk/and > >http://dev.welovekaoru.client.tandot.co.uk/static/wlk.js. > > > TIA to any smart cookies!- Hide quoted text - > > - Show quoted text -