Preventing alert to show two popups when button is clicked twice

Posted by Nadeem on Stack Overflow See other posts from Stack Overflow or by Nadeem
Published on 2010-05-05T09:35:24Z Indexed on 2010/05/05 9:38 UTC
Read the original article Hit count: 129

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about java

Related posts about script