Martin Marques wrote:
<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).


And what is so difficult about it?

<body onload="printAndRedirect();">

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to