Return to Snippet

Revision: 21575
at December 15, 2009 17:34 by math89

Initial Code
$("a[@rel~='external']").click( function() { $(this).attr('href') );
    return false;

Initial URL

Initial Description
The target="blank" attribute is not valid XHTML 1.0 Strict.
using jQuery, you can achieve the same functionality without having validation problems.

Initial Title
XHTML 1.0 Strict valid target="blank" attribute

Initial Tags

Initial Language