Hello, everything regarding the Html to PDF process appears to be working great for me except one aspect. The web page I am attempting to print has some JavaScript that I am trying to execute inside a script tag at the bottom of the page.
For example (this isn't the JS I'm needing to run, just an example that does not work as I would expect it to):
<script type="text/javascript">
$("#d232c734-262e-4930-b5f1-04d9401a267a_0").val("test test test");
</script>
I have EnableJavaScript set to true in the WebKit converter settings as well. I have also attempted to place this line inside the function when the window onload event occurs like so. This does not work either and actually locks up the page where I have to go into Task Manager and end the Syncfusion converter process.
window.onload = function () {
$("#d232c734-262e-4930-b5f1-04d9401a267a_0").val("test test test");
window.status = "completed";
};
Basically, I don't understand why my JavaScript code is not executing and updating my html prior to the PDF generation. Any help is appreciated.