Hello guys, its my first post here, i looked into a post similar but i
could get it solved, so i decided to open this topic.
I have one form that i send with ajax, i wanna submit this form and
update a div with text and also run some javascript like a simple
"alert('the form was sent!')".
Here is the code I'm using for submit my form
$(sFormName).set('send', {
evalScripts: true,
evalResponse: true,
onComplete: function(response) {
// show response target reply
$(sContentShow).set('html', response);
}
....
-------------------------------------------------------------------------
My div is update normally i get answers like: "My text ... <script
type="text/javascript"> alert('the form was sent!'); </script>"
But the javascript it's not loaded :(
I don't know what else to try for make this working...
Thank you all