What does onclick return false mean?
What does onclick return false mean? Chrome works with the return false method now. It stops following the link in the onclick event of an img element. What does the return false accomplish? 5 Answers. return false inside a callback prevents the default behaviour. For example, in a submit event, it doesn't submit the form. return false also stops bubbling, so the parents of the element won't know the event occurred. How do you use return false? You use return false to prevent something from happening. So if you have a script running on submit then return false will prevent...