appentTo and Chain
appentTo and Chain
Hi...
I recently found in this url http://blog.pengoworks.com/index.cfm/2007/10/26/jQuery-Understanding-the-chain
the following example:
$("<strong>append me!</strong>").appendTo("p").appendTo("div");
The example says that <strong>append me!</strong> would be appended to "p" and "div" elements, but it does not work...it always append only to the last, in this case the "div"
I appreciate your help...