-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDFs won't load Javascript #44
Comments
afaik wkhtmltopdf has javascript enabled by default and a delay of 200, 2013/10/13 Pelimak notifications@github.com
|
I'm using only pure javascript. If I do something very simple like <script type="text/javascript">alert("test");</script> it will not do the alert. I also tried having it change the text of an html span to see if it was just alerts that did not work; however, that did not do anything either. |
Closing due to inactivity. This sounds like a problem with wkhtmltopdf (If it is possible at all). |
I don't know if this is a problem with my set up of CakePDF, or if this is just impossible with the current plugin, but I cannot get any PDF to actually read/execute Javascript. If I have an html page with just html and php, the page will generate just fine; however, it will skip anything in Javascript tags. I really need to be able to use Javascript when the PDF is created so that I can create the images I need to be on the document. I am using wkhtmltopdf as the engine.
I apologize if this has been answered before, but in days of researching the problem and experimenting with possible solutions, I have found no information on getting Javascript to work. I would greatly appreciate any help in this matter. Thanks.
The text was updated successfully, but these errors were encountered: