Greetings,

I'm building a site that relies heavily on Ajax responses that include
Javascript.

In 1.1 this wasn't a problem and if I had a code like:

$('myForm').send({
method: 'post',
evalScripts: true,
update: $('responseDiv')
});

it would fetch the server response to myForm, update responseDiv with
it and execute all scripts in the response.

Now in 1.2, I'm writing this code as:

$('myForm').set('send',{
method: 'post',
evalScripts: true,
update: $('responseDiv')
}).send();

and I find that it ignores all the scripts on the response. Using
evalResponse (alone or in combination with evalScripts) didn't help
either.

Any ideas?

Reply via email to