How to load the javascript file or function in dompdf

803 views
Skip to first unread message

Tamilmani

unread,
Jun 27, 2013, 3:16:44 AM6/27/13
to dom...@googlegroups.com
Hi All,

I have tried to call the external javascript file in dompdf. But its not working. How to call the external javascript function  or file in dompdf ?

In my HTML page , just print the text using javascript.  It's not printing.

If any one have the idea , please share it to me.

HTML Page:-

<script type="text/javascript">
document.write("Testing");
</script>

Thanks
Tamilmani Mohan

BrianS

unread,
Jun 27, 2013, 2:12:39 PM6/27/13
to dom...@googlegroups.com
dompdf does not support JavaScript. You'll need to look at something like wkhtmltopdf.
Reply all
Reply to author
Forward
0 new messages