title: how to execute ajax output script
body: <p>I'm getting an ajax output success data.</p>
  
  <p>Where the data contains some html text and a script.</p>
  
  <p>But the script is not executing, how can I execute the script.</p>
  
  <p>Let's say Ajax response obj is</p>
  
  <pre><code>&lt;div&gt;something....&lt;/div&gt;&lt;script&gt;alert("test");&lt;/script&gt;
  </code></pre>
  
  <p>the above code is my Ajax response.The div is getting rendered, but the alert is not working.</p>