Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Removing event listener from a button.

$
0
0

I've added a "click" event listener to a button, but I'd like to remove it once the button is clicked, so it's not active/clickable any longer. Here's the basic code:

 

 

sym.$('button').click(function(){

     //here I need to make this button not clickable any longer

});

 

Thank you.


Viewing all articles
Browse latest Browse all 9897

Trending Articles