Re: [jQuery] jquery, eval and javascript in Ajax response

2009-11-15 Thread JMcGinnis
Hi Luca, the instructions that Pofferbacco gave you will definitely work, however I would suggest not returning javascript from and ajax call unless its an array, even then, you should probably use JSON or XML when you can. Here is my suggestion. This part of your code looks fine and will work

[jQuery] jquery, eval and javascript in Ajax response

2009-11-15 Thread Pofferbacco
Hello, I need your help to solve an issue. I have: - page a: a page with a form - page b: a php page that output a result after a query to the database I use ajax to do the request to page b and I display the result in page a. Inside the output there is a javascript script that is not displayed i