Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Javascript is not working during PDF generation #105

Open
krunaltech opened this issue Jan 22, 2016 · 0 comments
Open

Javascript is not working during PDF generation #105

krunaltech opened this issue Jan 22, 2016 · 0 comments

Comments

@krunaltech
Copy link

I am using "dev-master" version of library. I have set "DOMPDF_ENABLE_JAVASCRIPT" to true but javascript function doesn't get execute to set dynamic content. So while PDF gets generate, it shows blank area.
I have added script tag as below in both <head> and <body> tag as below:

<script type="text/javascript">
function function1()
{
    //Some javascript code to generate dynamic html content
}

function1();
</script>

I have tried couple of things to fix but doesn't found any solution. Nor found any solution on internet till now. Is there any solution to fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant