Return false

From Level Access Web Labs
Jump to: navigation, search

JavaScript return values and event propagation. In this example return true or false is set on the onclick and allows or prevents the href from occurring when the link is clicked or acted upon with enter.

This returns true
This returns false