Possible reasons why this javascript is not running when call it using ajax/jquery?
please take a look of this, the file [demo.php][1] is an example of the google chart framework. If you open it directly it works just fine.

Then, i need to embed the contend render by demo into another page using an ajax call with jquery simple like [this][2]. As you will see, it will not work, the script makes the ajax call but the javascript code in demo.php seems to be not executed. How can i solve this? Thanks for any help!


  [1]: http://paste.ideaslabs.com/show/5pGs36l4Y7
  [2]: http://paste.ideaslabs.com/show/YsBxjw8UZ7
Possible reasons why this javascript is not running when call it using ajax/jquery?
===

please take a look of this, the file [demo.php][1] is an example of the google chart framework. If you open it directly it works just fine.

Then, i need to embed the contend render by demo into another page using an ajax call with jquery simple like [this][2]. As you will see, it will not work, the script makes the ajax call but the javascript code in demo.php seems to be not executed. How can i solve this? Thanks for any help!


  [1]: http://paste.ideaslabs.com/show/5pGs36l4Y7
  [2]: http://paste.ideaslabs.com/show/YsBxjw8UZ7