We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
10
6
@rds That says "preventDefault doesn't stop further propagation of the event through the DOM. event.stopPropagation should be used for that."
An answer on a closely-related question alleges that prior to HTML 5, returning false from an event handler wasn't specced as doing anything at all. Now, maybe that's an incorrect interpretation of the (hard to understand) spec, or maybe despite it not being specced literally all the browsers interpreted return false the same as event.preventDefault(). But I dunno; it's enough to make me take this with a pinch of salt.
MSDN is now rewriting history to pretend that its history is now that of current Firefox. Rewriting history is nothing new for governments, and is a tool of power, for perception management. How casually and laughably MSDN rewrites history with event.returnValue. That's not reality, however. lists.w3.org/Archives/Public/www-style/2010Sep/0458.html —
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
complete the sentence: my question is about...
use tags that describe things or concepts that are essential, not incidental to your question
return falsethe same asevent.preventDefault(). But I dunno; it's enough to make me take this with a pinch of salt.jQueryis merely a sub-set of JavaScript, not its own language.