jQuery: Cancel the default action of the click
jQuery Fundamental - II : Exercise-92
Cancel the default action (navigation) of the click.
Sample solution :
HTML Code :
JavaScript Code :
Contribute your code and comments through Disqus.
Previous: Display the mouse position relative to the left and top edges of the document (within this iframe).
Next: Display previous handler's return value.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.