target=”_blank” fix with xhtml strict for w3c compliance using jquery

of course – use jQuery

jQuery(document).ready(function() {
    jQuery(‘a[rel=external]’).attr(“target”,”_blank”);
}

Leave a Reply

Your email address will not be published. Required fields are marked *