thanx in advance for replies
trying to addclass() for all href's with <a>
tag
and want to exclude href contains example1.com
, example2.com
, example3.com
but i have tried a lot with
var exclude = ["example1.com","example2.com","example3.com"];
$('a.class').has('a[href='"+exclude+"']').removeClass('class');
or
$('a.class').has('a:contains('"+exclude+"')').removeClass('class');
but all class removed
hope to help me