AppendTo does not work as desired
Posted
by Gokul
on Stack Overflow
See other posts from Stack Overflow
or by Gokul
Published on 2010-05-25T14:11:36Z
Indexed on
2010/05/25
14:21 UTC
Read the original article
Hit count: 174
jQuery
When I say, msg.appendTo(ele.parent().next())
, the msg successfully gets appended to a <p> with class=foo
How can I specify it explicitly in the statement?
I tried msg.appendTo(ele.parent().next().find('.foo'));
but it doesn't work
© Stack Overflow or respective owner