I have the following code -
<!--NOW OPEN UP THE PDF FILE WEB PAGE AUTOMATICALLY-->
<script type="text/Javascript">
window.open(" null);
</script>
<!--REDIRECT THE USER TO THE MAIN MENU-->
<%response.redirect("MainMenu.asp")%>
The problem is that the javascript does not work when i have the response.redirect available. IF I comment out the response redirect, the javascript works and a new web opens automatically, If I don't comment out the response redirect, no new web page opens at all.
<!--NOW OPEN UP THE PDF FILE WEB PAGE AUTOMATICALLY-->
<script type="text/Javascript">
window.open(" null);
</script>
<!--REDIRECT THE USER TO THE MAIN MENU-->
<%response.redirect("MainMenu.asp")%>
The problem is that the javascript does not work when i have the response.redirect available. IF I comment out the response redirect, the javascript works and a new web opens automatically, If I don't comment out the response redirect, no new web page opens at all.