hankknight
asked on
jQuery: Combine Not into First Element Selector
How can this be combined so that the "not" is combined with the first element selector?
$('a[href]').not('[href^="http"],[href^="mailto:"],[href^="/"],[href^="."],[href^="#"]').each(function(ev) { });
This does not work:$('a[href]:not([href^="http"],[href^="mailto:"],[href^="/"],[href^="."],[href^="#"])').each(function(ev) {});
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.