This JavaScript function opens a specified URL in a new window.
goToURL(URLInput)
URLInputObj - Optional. Name of the input tag that contains the URL specified by the user. If not passed, the function just returns.
None.
This example shows how the goToUrl() function opens the order instruction screen in a new window.
<td>
<input type="text"
<%=yfsGetTextOptions("xml:/Order/Instructions/Instruction_"
+ InstructionCounter + "/@InstructionURL", "xml:/Instruction/@InstructionURL",
"xml:/Order/AllowedModifications")%>/>
<input type="button" class="button" value="GO"
onclick="javascript:goToURL('xml:/Order/Instructions/
Instruction_<%=InstructionCounter%>/@InstructionURL');"/>
</td>