At cbjsonline.com, I'm trying to have a pdf in an iframe print automatically with javascript.
Currently, my code is - (connected to the onclick of the link that opens the iframe) - document.getElementById('fancy_frame').onload = setTimeout('window.print()',2500);
Any suggestions? This method only works in safari.