function fillHTML($sink,$source) { //set the HTML of sink //to the current html of source $sink.html($source.html()); }