On my website I load html, which is rendered at the server (nodejs), and insert it at the right position (most time a div with id content).
How would I insert the received html on the client, so that included script tags are executed?
I am using on the client side underscore and handlebars. But vanillajs is also possible of course.
PS: Here is an example to show the difference between
getElementById('content').innerHTML = loaded_html;