$(document).ready(function(){
$("a").click(function() {
$("#content").load($(this).attr("href"));
window.location.hash = $(this).attr("href");
return false;
});
});
So I use this code to make all links load in the div (content). But I want all links that have a target of _blank (new page), to open up in a new page - as their default behaviour. How can I do this?
Cheers in advance - (I'm a jQuery noob :) )