FW: [jQuery] Re: Returning Javascript

2009-02-17 Thread Sam Fleming
Basically, my ajax loads each page. If i want to put javascript in that page the javascript does not run. Can i eval the whole response? Html and everything? Or do i have to filter out the javascript? Maybe it would be easier to make the jquery load another script in a file? If this is possible?

Re: FW: [jQuery] Re: Returning Javascript

2009-02-17 Thread Aaron Gundel
eval is only for javascript. You cannot eval the whole response. If you want to put javascript in other files, it is possible to load them dynamically at runtime. See the following for more information about On-Demand Javascript... It's foundational to several other concepts floating around on