What is the most recommended/best way to stop multiple instances of a setTimeout function from being created (in javascript)?
An example (psuedo code):
you can always overwrite the buttons onclick to return false. example:
Javascript example
Javascript example
Should Only Fire Once