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

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

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

keyboard - Smiles and long press feature in Android -