Hi,

I am having trouble with evaluation of submitted form. I do this:

<input type="button" value="click me" onclick="javascript:
  $('myform').request({
                method: 'post',
                onComplete: submit_update
  });">

The form is submitted properly and submit_update function is called
upon completion. The thing is that the returned html code contains
javascripts which should be evaluated and I simply can't force
prototype to do this. I tried evalScripts: true but it doesn't work.
Any ideas? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to