Try this:
function CreateNewElement()
{
$('test content')
.appendTo('#contentContainer')
.hide()
.toggle('slow');
}
You'll likely want to change the ID and, obviously, the content. But
the principal i the same--jQuery can take the string mar
Hi,
Im new to Jquery and have been trying to dynamically create a new div
element with document.createElement.
I can successfully insert this element into the dom but I want to
animate it on creation. After inserting the element into the DOM i try
and access it using a JQuery selector but it does
2 matches
Mail list logo