I am trying to get this to work:
<script>
window.alert( "<%=vRequesterName%>, your Tooling Request has been saved.\nYou will receive an email confirmation!\n"
;
if ( window.confirm("Would you like to submit another request?"
)
{
window.open("toolingrequest.asp", "toolingrequest", ""
;
}
window.close();
</script>
</html>
It only goes through twice then it will close down the web page. Why doesn't it keep going until you finally click "NO" on the second window that says "would you like to submit another tooling request." I need it to go through as many times as the user wants and right now it only goes twice.
Any suggestions?
<script>
window.alert( "<%=vRequesterName%>, your Tooling Request has been saved.\nYou will receive an email confirmation!\n"
if ( window.confirm("Would you like to submit another request?"
{
window.open("toolingrequest.asp", "toolingrequest", ""
}
window.close();
</script>
</html>
It only goes through twice then it will close down the web page. Why doesn't it keep going until you finally click "NO" on the second window that says "would you like to submit another tooling request." I need it to go through as many times as the user wants and right now it only goes twice.
Any suggestions?