var width = $("p").wrapInner("<span></span>").children().width();
$("#myp").html($("p").children().html());

Reply via email to