html - How to print pdf which is in iframe using jQuery? -
i've tried print pdf, , tried print iframe.
html:
<iframe name="iframetoprint" id="iframetoprint" src="/path/to/mypdf.pdf"></iframe>
js:
$('#iframetoprint').get(0).contentwindow.print();
and says:
error: permission denied access property 'print' in mozilla firefox
i think firefox doesn't have permission print pdfs iframe, have no idea.
is there way this?
Comments
Post a Comment