title: jQuery. How to execute script loaded from JSON?
body: <p>I have file like this:</p>
  
  <pre><code>{'html' : '&lt;div id="bla"&gt;something&lt;/div&gt;',
   'script' : ' $().ready(function() { /* some code */});' }
  </code></pre>
  
  <p>I need to load it with jQuery and execute the 'script' variable. I know about $.getScript, but I need to run the script not from URL, but from part of JSON file. Otherwise I would need to do 2 heavy requests to server instead of one (javascript code is not static).</p>
  
  <p>Is there a way to do so?</p>