I am trying to create a div that will only be acknowledged by JS. I want the div placed over my "container" div id tag like so:
$('<div id="disco">').prependTo('#container');
$('</div>').appendTo('#container');
This does not seem to work however. I was wondering why, and how best to resolve this.
beforeapi.jquery.com/before instead ofprependToor what do you mean withplaced over?.wrap()instead