I use backbone and here is my view:
view = Backbone.View.extend({
events: {
'click #but': 'someAction'
},
someAction: function(){
alert('yo!');
}
});
This code doesn't work if #but is disabled. Which event I have to use for disabled buttons?