I have a SharePoint .aspx page, a webpart which contains a link that opens a page, and I can't change the webpart. How can I add JavaScript that opens a page in a new window?
This code helps, but I need to locate the webpart link, and handle a click on the link by opening a new page:
<a href="http://URL" target="_blank">LINK</a>
 
     
    