Preventing alert to show two popups when button is clicked twice
- by Nadeem
Lets say we have a js function which shows a pop up on a button click. But if the button is clicked twice in a hurry it show two popups. Is there any way to prevent alert to show two pop ups when the button is clicked twice in a hurry?