The given function will keep firing while the user clicks on, and holds the mouse down on an element. Useful for spinner type elements.