Amateur here.I am working on a project. I wanted to display the html file in the div.I came across this How do I load an HTML page in a <div> using JavaScript? . I have come across issue here. In
function load_home()
{
document.getElementsByClassName("Analytic_area").innerHTML='<object type="html" data={% static 'app1\Venues_location.html' %}" ></object>;'
}
The problem is with
data={% static 'app1\Venues_location.html' %}"
It asks me to put ';' where there is need and because of this, on runtime the path doesn't parse correctly.
Home is the button ,clicking on which a html will be displayed in the div below