is it possible to add an HTML code to HTML with javascript.?
because I have this code, it generated automatically like this:
<div class="investi-announcements-summary" data-investi-date-format="dd MMM yyyy" data-investi-num-announcements="100" data-investi-filter-regex=".*presentation">
<div>28 Jun 2021</div>
<h4><a href="http://www.example.com" target="_blank">Investor Presentation - June 2021</a></h4>
</div>
And I want to add this code <div class="content"> before <div>28 Jun 2021</div> and this code </div> after <h4></h4>
so it'll be like this:
<div class="investi-announcements-summary" data-investi-date-format="dd MMM yyyy" data-investi-num-announcements="100" data-investi-filter-regex=".*presentation">
<div class="content">
<div>28 Jun 2021</div>
<h4><a href="http://www.example.com" target="_blank">Investor Presentation - June 2021</a></h4>
</div>
</div>
if it's possible, I hope someone can help me on that.
Thank you,