And what is so difficult about it?<script> function printAndRedirect() { print(); location="someotherscript.php"; } </script>
Yes, I already have this.
My problem is that I want to make it work on the event "Onload" (when the page ends loading, execute the JS function).
<body onload="printAndRedirect();">
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php