iPhone vs Javascript event suppression

I’ve got a simple click handler that does something on the screen instead of visiting that link. Here’s the code (I’m cutting out the nonsense but the important stuff is accurate): <a href="#" id="…