Richard Coffre
asked on
How to directly print a HTML file from another ?
Hi all,
How can I do to print a HTML file from another one ?
For example, in the file index.html, I want a link to print directly the file "to_print.html" with or without confirmation.
TIA
How can I do to print a HTML file from another one ?
For example, in the file index.html, I want a link to print directly the file "to_print.html" with or without confirmation.
TIA
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can use window.close(); but i think it will do a close confirm poup confirmation... i am not too sure how to avoid that...
ASKER
On which event I can perform the window.close() ?
It's sure that a confirmation window will be prompted.
It's sure that a confirmation window will be prompted.
can do this: <body onload= "window.print();window.clo se();">
ASKER