I am using the code below to generate a url and I want it to open in a new window. This code displays it in the current window.
function CreateRSS(inform)
{
var RSStext = "location.href=RSStext + inform.options[2].value;
}
I am calling it from here
<INPUT type="button" value="Search Now" name="FormsButton1" onclick="CreateRSS(subheading);" size="20">
</INPUT>
How can I add the HTML equivalent of target="_blank" to open it in a new window please?
Thank you
Stephen
function CreateRSS(inform)
{
var RSStext = "location.href=RSStext + inform.options[2].value;
}
I am calling it from here
<INPUT type="button" value="Search Now" name="FormsButton1" onclick="CreateRSS(subheading);" size="20">
</INPUT>
How can I add the HTML equivalent of target="_blank" to open it in a new window please?
Thank you
Stephen