In JavaScript, when a user clicks a button, how do I know if it's the same button that he clicked the last time?
For example, if a user clicks a "play" button, and a stop button a few seconds after, how can I know that he clicked the play button before the stop button?