<div id="div1">
<div id="div2">
</div>
<div id="div3"></div>
<div id="div4">
<div id="div5">
<div id="div6">
</div>
<div id="divcontent">
</div>
</div>
<div id="divButtons">
</div>
</div>
<div id="footer"></div>
</div>
I am facing an issue with appending buttons and text after including the above divs in my HTML file.
I have attempted to add buttons to divButtons
using jQuery, but without success.
Here is what I tried:
$("#div1").children('#divButtons').append('<button></button>');
$('#divButtons').append('<button></button>')
If you have any suggestions or corrections for me, please advise on how to resolve this matter effectively. Thank you.