How to know if button isn't clickable

Hey guys is there a way to know if a button isn’t clickable using javascrpt or jquery?


Check it’s disabled property?

What I mean is using JS in the plug-in editor. So for example an attribute on the HTML that says disabled = true

Yep i meant checking the disabled property of a button in javascript/jquery.
Here is a documentation on the disabled property of a DOM button

See an example here.