On hover I want to call a function. If the element has the class "disabled_btn" it shall be supressed. Why is mode code not working? jsfiddle
html
<button id="btn" > hover here</button>
JS
$('#btn:not(.disabled-btn)').on('hover', function(){
alert('click');
});