var request=new Ajax.Updater('element','/url',{
method: 'post',
evalScripts: true,
parameters :
{
id: id,
page: page
}
});
request=null;
- works fine...
Its probably a syntax error in your returning javascript
Alex Mcauley
http://www.thevacancymarket.com
----- Original Message -----
From: bill
To: [email protected]
Sent: Tuesday, August 25, 2009 2:26 PM
Subject: [Proto-Scripty] ? of format of evalScripts
My function is:
new Ajax.Updater('showMessageDiv', 'mail/process_message.php', {
parameters: $('showMessageDiv').down('form').serialize(true),
onFailure: function(response) {
alert ("mail.js: failure to submit form - getmessage");
}
});
When I try to add evalScripts:true so I can download and evaluate scripts I
get a syntax error, no matter what I try.
Would someone please show me the correct format to add evalScripts:true the
this function ?
--
Bill Drescher
william {at} TechServSys {dot} com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---