Will jQuery's html() function reliably execute any contained scripts without weird side effects?
<p>it appears in some limited testing i've done - that if I load a document with jQuery using <code>.ajax()</code> and then add it to the DOM with <code>.html(data)</code> that any SCRIPT tag contained in the HTML document will be executed.</p>

<p>I'm just not sure if this is behavior I can count on? will all browsers do this? am i going to get into trouble if i'm defining any variables in that block that get overwritten later by subsequent refreshing of that part of the DOM?</p>

<p><strong>Edit:</strong> Just to clarify the javascript in question is just dynamic data expressed in JSON.</p>
