Forum How do I...?

d3.js javascript onLoad()

starswan
Hi,
Can't find much documentation on prince with JS support. I have a page that renders without apparently running the javascript (which is run from an onLoad() block) and am wondering if prince isn't waiting for the JS to run before creating the PDF?

None of the examples seem to use JavaScript.
mikeday
Prince does not execute JavaScript by default unless you specify the --javascript option on the command-line.