title: Executing a javascript function returned from AJAX response (PHP)
body: <p>I am trying to load a javascript function once Ajax has returned the HTML code through PHP. This requires me to echo the javascript in the ajax response.</p>
  
  <p>In other words i am trying to add this code (placed between script tags) in the PHP Ajax response.. hoping that it executes <pre>$('#green').smartpaginator({ Some code... });</pre>  </p>
  
  <p>From what I have read so far the browser has done reading the Javascript and will not execute this. Is there a way to do this.... ?</p>