I am using jQuery to add some dynamic content to a website.
I am attempting to create a new DOM element on-demand using the following code:
container
If you want to add a DOM element, the code needs to be modified a bit:
$('body').append(''); // body can be whatever containing element you want to hold myContainer $('#myContainer').html('whatever you want inside of myContainer');