AppendTo does not work as desired
- by Gokul
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