This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Linked .js files with HTML

zia0145 wrote on 2014-03-12:
I have a HTML file that uses two javaScript file. I linked the files with HTML and it works fine in HTML form but \when i convert it to PDF it shows nothing. I copied .js files code in HTML file and then converted it and it worked. But is there a way that i can link files instead of copying code in HTML.
support wrote on 2014-03-12:
Hello,

If you use convertHtml() or convertFile() you can zip the JavaScript files together with the HTML document and send the .zip file to the API via the convertFile() function.