 <p>Check the rest of your javascript. <code>return false;</code> or <code>.preventDefault();</code> should do the trick. If they're not working, it usually means there's an error somewhere else in your js, and your browser never gets to that line of code.</p>