d
Amit DhamuSoftware Engineer
 

Element Is Not

1 minute read 00000 views
// Will target all anchor tags that don't have a .external class
$('a:not(.external)').on('click', function () {
  // code here
})