All posts tagged coding
Posted on 27. September 2013

Think before using 'return false;'

One of the first things jQuery coders learn is how they can stop the browser from calling the default action of an event. 'return false;' will stop the browser calling the default behaviour: opening the clicked link. But using 'return false;' in that way is not good because this can break everything behind.
Made with ♥️ and Gatsby © 2020