> if you need to do it yourself, you'd use
> String#evalScripts on the responseText member of the Ajax.Response
> passed into your onSuccess handler.
>
Sorry, I still don't understand. This is my onSuccess handler, how do
I apply evalScripts?
if (http_request.readyState == 4) {
if (http_request.status == 200) {
document.getElementById('load').innerHTML = "";
var thereturn = http_request.responseText;
document.getElementById(div).innerHTML =
thereturn;
} else {
alert(error);
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---