Because the text method returns a string, it's missing appendTo and
other methods. Now, of course I can do this:

$("#sandbox").text($("a").text());

But I'd prefer to do this:

$("a").text().appendTo("#sanbox");

What goes between text and appendTo? Or is the first example the best
way to do this?

Reply via email to