jquery - How can I combine on() and not()? -


i've got this, getting error:

$('#photocell').on('click', 'div.group:not('.overrideicon')', function(){...}); 

should use double quotes inside not()?

try this:

$('#photocell').on('click', 'div.group:not(.overrideicon)', function(){...}); 

no need of single quotes overrideicon class inside :not()


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

node.js - Bad Request - node js ajax post -

uitableview - Create and use custom prototype table cells in xamarin ios using storyboard -