@Gafa : I am wasn't using Request.HTML, i was using the send() method on the
form object
@ Aaron : Yeah thats what i ended up doing...switching to for Form.Request.
I ad something like....
 
formElement.addEvent("submit", function () {
    update : "container",
    evalScripts : true,
    onComplete : function () {}
    }).send();
 
The onComplete was fireing but the data was never being updated so i
resorted to populating the content in the onComplete function but the
scripts were not being run.  From what i was reading up on the Form.send()
triggered a Request.HTML under the covers so it is strange that neither the
"update" or "evalScripts" properties did nothing

  _____  

From: Aaron Newton [mailto:[email protected]] 
Sent: Monday, 30 August 2010 12:28 PM
To: [email protected]
Subject: Re: [Moo] Re: form send and evalScripts


You probably want to use the Form.Request class in MooTools More.


On Thu, Aug 26, 2010 at 7:39 AM, Gafa <[email protected]> wrote:


Put up some code to view

are you setting property evalScripts: true ??? In your Request.HTML


On Aug 26, 10:02 am, "Steve Onnis" <[email protected]> wrote:
> Can you actually have a send() event that will execute scripts in the
> response html? i thought you could but cant seem to get it to work.
> possible?



Reply via email to