I have a question regarding a javascript command. What I am doing is on a asp.net page, a user clicks on a print button which I have another page open up and at the bottom of that page, I put in a simple script command, but I have noticed that my window.close doesnt always work. Here is my code below. Any help would be very much appreciated.
<script type="text/javascript">
window.print();
window.close();
</script>