JQuery Programmer Question: Download JQuery Programmer PDF
What is the difference between event.PreventDefault and "return false"?
Answer:
e.preventDefault() will prevent the default event from occurring, e.stopPropagation() will prevent the event from bubbling up and return false will do both.
Previous Question | Next Question |
What is jQuery plugin and what is the advantage of using plugin? | Is jQuery a library for client scripting or server scripting? |