I'm using a CMS where I cannot change the html. But they do give the ability to add javascript to the page.
There's a link in the usual format
e.g. <a id="myid" href="">Link</a>
What's the best way to open this in a new window?
(It is on a page with a form. So it's one occasion where forcing a new window is definitely required to keep the text filled in on the form from being cleared by a change of page)