I have a click handler for a specific link, inside that I want to do something similar to the following:
window.location = url
I need this
Here's how to force the target inside a click handler:
$('a#link_id').click(function() { $(this).attr('target', '_blank'); });