Correctly adding an element
Hi to all.
I would like somebody to tell me wich is the correct way to add an element to another, and then give the added element a class ??
$("firstElement").add("elementAdded").addClass("classForTheAddedElement");
is adding the class to the "firstElement".
Any help ??
Thanks in advance