/ Published in: jQuery

The target="blank" attribute is not valid XHTML 1.0 Strict.
using jQuery, you can achieve the same functionality without having validation problems.
using jQuery, you can achieve the same functionality without having validation problems.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("a[@rel~='external']").click( function() { window.open( $(this).attr('href') ); return false; });
Comments
