I'm currently using this to select fields:
$('body').on('change', '#mainFrom input', function(){
How do I apply a not selector for class listName ?
I've tried :
$('body').not('.listName').on('change', '#mainForm input', function(){
Which didn't work.
How do I do this ?
Thanks
I'm going to guess that the
listNameclass will be on theinput. If so:Or if we guess that it's on
#mainForm:Or if we guess that it's on
body, we have to change more: