[jQuery] a way to convert jquery object to text for dom injection

[jQuery] a way to convert jquery object to text for dom injection


i need to insert a clone of one dom object
i do
var hex = $("#d").clone();
$("div").append("text blab bla"+hex+"ok nana");
and it's not working...
how do i do this?