1.

Can You Please Explain 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.

e.preventDefault() will prevent the default event from occurring, e.stopPropagation() will prevent the event from bubbling up and return false will do both.



Discussion

No Comment Found