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
You can also use the jquery prop() method for this.
$(function(){ $('yourselector').prop('target', '_blank'); });