I am trying to automate a process where the browser opens, runs a script then closes. I am using a system scheduler to open, asp scripting and a footer to close. The window opens, the script executes and gets to the js but the window will not close. I am using firefox where this has not been an issue.
The code can be run manually or automated. I even had an alert box which executed. Any ideas on why this script will not close the window?
Thanks in advance....k
<%If Request("ss")="t" Then%>
<script language=javascript>
window.close();
</script>
<%Else%>
<script language=javascript>alert("Processing Complete");</script>
<%End If%>
The code can be run manually or automated. I even had an alert box which executed. Any ideas on why this script will not close the window?
Thanks in advance....k
<%If Request("ss")="t" Then%>
<script language=javascript>
window.close();
</script>
<%Else%>
<script language=javascript>alert("Processing Complete");</script>
<%End If%>