Hello everyone, I have an application with JQuery EasyUI, and I always call the click actions of the buttons with JQuery, as shown below:
$("#btnEditar").click(function(){
...
});
It happens that when clicking the button and it is disabled, it continues executing the Click action of JQuery.
I wonder if it would be possible to execute Button CLick only if it is without a particular css class, in my case .l-btn-disabled. I performed the test as below but it did not work:
$("#btnEditar").not(".l-btn-disabled").click(function(){
...
});
Thank you for your attention.