Return to Snippet

Revision: 21537
at April 6, 2011 07:06 by coryschadt


Updated Code
//Open external links in a new window/tab
$("a[href^='http://']").attr("target","_blank");

Revision: 21536
at December 15, 2009 12:08 by coryschadt


Initial Code
//Open external links in a new window/tab
	$("a[href^='http://']").attr("target","_blank");

Initial URL

                                

Initial Description

                                

Initial Title
Target _blank with jquery

Initial Tags
jquery

Initial Language
jQuery