manipulate 'temporary dom' at background
<p>This is bit tough question.  I"m using third party library that will insert result into DOM. </p>

<p>Example:  </p>

<pre><code>$('#puthere').thirdpartyplugin();
</code></pre>

<p>this will call <code>thirdpartyplugin</code> and manipulate result of HTML element <code>#puthere</code>.  </p>

<p>My question is, how to output result to JavaScript variable rather than DOM element?</p>

<pre><code>var plainOutput =  $.thirdpartyplugin();  alert(plainOutput);
</code></pre>

<p>I do not want to manipulate HTML element that is visible to users. I just want to call <code>alert(plainOutput)</code> the result.</p>
