I want to open a link in a new tab. To do this I am writing a code like this:-
$(document).ready(function(e) {
$('ul.sf-menu.sf-navbar li li a:contains("/events/aqr-investment-symposium-for-merrill-lynch/custom-20-a60da1b5daf74421bb19860b0769e3ba.aspx")').attr("target","_blank");
});
It's not working for me.
I cannot touch the HTML code. I can just make it done with jquery or javaScript.