Load external html and js code

0
Hi all, I want to load my external html and js code whenever a page loads so that I can use this html as a view for this page (possibly inside the container) and use JS to do some operations on this page. How can I achieve this?   I tried using the HTMLSnippet widget and I am unable to load the HTML and JS code correctly.   Screenshot-1: I tried to post entire HTML and JS code inside this HTMLSnippet widget, but it is showing some of the contents in the top left corner (expectation is that it should display the contents in the center as it runs perfectly fine when I load this HTML and JS code on the browser)   Screenshot-2 I tried to load external HTML file in the HTMLSnippet widget and this external html file  has a script tag that loads JS However, it doesn’t work as expected 
asked
0 answers