computerheaven
asked on
window.print not working in ie8
Hi,
I want to make this page print and then redirect to another page. Below is my code:
<script type="text/javascript">
<!--
window.print();
//-->
<!--
window.location = "service_view.php?ticket_i d=<?= $ticket_id; ?>"
//-->
</script>
This works just fine in FireFox, but in IE8 the page just redirects and does not print. Help please!
I want to make this page print and then redirect to another page. Below is my code:
<script type="text/javascript">
<!--
window.print();
//-->
<!--
window.location = "service_view.php?ticket_i
//-->
</script>
This works just fine in FireFox, but in IE8 the page just redirects and does not print. Help please!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! I had to modify it to fit my needs but that was the line of thinking I needed.
ASKER