/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Open external links in a new window/tab $("a[href^='http://']").attr("target","_blank");
//Open external links in a new window/tab $("a[href^='http://']").attr("target","_blank");