I am trying to close the web window from an agent on the web, but I keep getting this error “Syntax error” here is my code ;
If doc.RRB(0) = “PAL” Then
Print |<SCRIPT Language="Javascript">|
Print |alert('| & doc.Question(0) + "\n\n" & "You can now " + Cstr(LouPnu) + " all the information');"
Print |<SCRIPT type="text/javascript">window.close()</SCRIPT>|
Print |</SCRIPT>|
Else
End If
thanks
Paul