This topic is locked
[SOLVED]

 Javascript on PDF

3/7/2016 12:11:43 PM
PHPRunner General questions
R
RicardoP author

Hello, I have a question.
Is it possible to execute some javascript code when we press on the PDF icon, to generate a pdf file?

I have some javascript running on the print page, but it is not working when i generate the pdf.

Is there a way to make it work?
Thank you,

Ricardo.

Sergey Kornilov admin 3/7/2016

PDF is generated in PHP code on the server side. If you need to apply any sort of changes you need to do that via server side event.