SyntaxFix
Write A Post
Hire A Developer
Questions
You can hang a lot of functions on the onClick event for one element. How can you be sure the false one will be the last one to fire? preventDefault on the other hand will definitely prevent only the default behavior of the element.
onClick
false
preventDefault