I have a situation where I\'m appending a node inside an element and would like a reference to it right away.
At the moment I do something along these lines:
Is this what you mean?
var current = $("#elem").append("hello").children(':last');
hello