var request=new Ajax.Updater('element','/url',{
  method:   'post',       
  evalScripts:  true,
  parameters : 
    id: id,
    page: page

- works fine...

Its probably a syntax error in your returning javascript

Alex Mcauley
  ----- Original Message ----- 
  From: bill 
  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 &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to