Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

redirect after print javascript

window.print();
window.onafterprint = function(event) {
    window.location.href = 'index.php'
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #redirect #print #javascript
ADD COMMENT
Topic
Name
5+5 =