7 comments
Hi @JangoSteve,
I can't tell when you pulled your source based on the names you've given ("Alpha 4-pre, Beta-pre). Have you tried this against our current HEAD? I ask because in Alpha 4 we were experimenting with triggering actions on 'a' tags via the new virtual events. This was landed just prior to us releasing Alpha 4, so I'm wondering if your Alpha 4-pre you refer to was before "fastclick" landed. We've since backed off because it causes some very peculiar problems. (See Issue 1331 for details)
Sorry, the latest version that I had experienced this with was as of this commit.
I just tried your test and it works on the HEAD ... it prints out both click 'hi' messages. Have you tried the latest source?
Hey sorry I've been absent. I'll pull down the new code into my project and try this again this weekend.
toddparker
closed the issue
jQM AJAX navigation breaks if you bind handlers to the click events of any
aorformelements with.live()or.delegate()before jquery.mobile-1.0beta-pre.min.js is included in the page. For example:However, this works fine:
Obviously, this code is an unrealistic example. However, it's not uncommon for jQuery plugins to use
liveordelegate, which means if you include such a plugin before jQuery Mobile, it breaks, but include the plugin after jQuery Mobile and it works.Also, this bug did not exist in Alpha 4-pre, only in Beta-pre.