A
andrej.kaurin
I need to put all body content into wrapper when page is loaded. Via
javascript of course.
Initial DOM
<body>
<div>
<p>Some text</p>
<p>More text</p>
</div>
</body>
Modified DOM with javascript
<body>
<div id="myWrapper">
<div>
<p>Some text</p>
<p>More text</p>
</div>
<div>
</body>
Any idea?
javascript of course.
Initial DOM
<body>
<div>
<p>Some text</p>
<p>More text</p>
</div>
</body>
Modified DOM with javascript
<body>
<div id="myWrapper">
<div>
<p>Some text</p>
<p>More text</p>
</div>
<div>
</body>
Any idea?