Is there a way to capture the text in $('#am-container').append( html );

Is there a way to capture the text in $('#am-container').append( html );

I would like to capture the text in

  1. $('#am-container').append( html );

so that I can directly insert the html text into the html page for debugging.  An Alert() does not provide for copying/selecting.

Suggestions welcomed...

Todd