I have a page in HTML which has a header, content, and footer divs.
<div data-role="page" id="Homelist" >
<div data-role="header" >
<h1>heading</h1>
<a href=""/></a>
</div>
<div data-role="content">
<img>
</div>
<div data-role="footer" >
<h3>show</h3>
</div>
</div>
Below the h1
tag, I have to add an h3
and h4
tag from a JavaScript file.
I will have a value in JavaScript file say "var header2 = "mini-header";"
. Can I use the header2
value in my HTML file.