Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes

I need to load a js at the end of the HTML or add "defer" in the tag. How can I do it? I export the document in multipage, so I need to add this js in multiple pages

<script type="text/javascript" defer src="assets/js/buscador.js"></script>
in how_to by (380 points)
  

1 Answer

0 votes
You can attach it as an HTML resource. It can be in the <head> with the defer attribute or in the <body> and then it will go at the end of the body.
by (10.6k points)
It worked! with the script in the <head>.

Thank you!
I'm so glad that helped. :)