Menu
I have the following code:
[code]
<%if strDuplicateLine = “DiffOrder” then%>
<Script Language=”JavaScript”>
<!– Begin
var strURL = frmGeneral.hidURL.value;
var strURLNewOrder = frmGeneral.hidURLNewOrder.value;
window.open(strURLNewOrder);
window.top.navigate strURL;
// End –>
</Script>
<%else%>
<Script Language=”JavaScript”>
<!–
var strURL = frmGeneral.hidURL.value;
window.top.navigate strURL;
–>
</Script>
<%end if%>
I get the error:
Expected ‘;’
for my testing, it is doing the second part of the if then statement, but I suspect it is incorrect on both sides. What is wrong with my code?