I'm having trouble adding a new div element within an existing div using JavaScript. Here's the code I'm currently using:
HTML:
<div id="hashtag-content-footer">
JavaScript:
<script type="text/javascript>
$("#hashtag-content-footer").append("<div id='newid'></div>");
</script>
Could someone please assist me with this issue?