Menu
Hi, I have a popup window to insert a link in my editor. This works fine as is.
I need to do this so that the target is blank (target=_blank).
Note: the text is selected prior to clicking the Link button in the editor toolbar.
[CODE]
function insertHyperLink() {
var hyperLink = document.all.url.value;
window.opener.document.getElementById(‘wysiwyg’ + qsParm[‘wysiwyg’]).contentWindow.document.execCommand(“CreateLink”, false, hyperLink);
window.close();
}
How do I do that in this code?
Thanks in advance.