You can pass either; an id or a reference. You should not have to push the submit button twice.
note that it can integrate with Spinner and Form.Validator. On Thu, Jan 21, 2010 at 4:41 PM, hairbo <[email protected]> wrote: > I think it just should be: > > Form.Request('myForm','content') > > I don't think you need to pass in the element object itself--just the > ID to the desired elements. > > On Jan 21, 5:58 pm, Davor Ilic <[email protected]> wrote: > > ok i have it new Form.Request($('myForm'), $('content')); > > > > thats very cool but why didn´t work my first it´s the same as mootools i > > just copy and paste it .... ??? > > > > 2010/1/22 Davor Ilic <[email protected]> > > > > > > > > > Could you write me an example i looked up this and it don´t work and i > do > > > not know why... > > > > > 2010/1/21 hairbo <[email protected]> > > > > > It kind of looks like your PHP page isn't returning HTML. I'd also > > >> suggest you try this code (I just learned about it, and it's pretty > > >> nice) > > > > >> var MyFormSubmit = new Form.Request( > > >> [idOfFormToSubmit], > > >> [idOfHtmlElementWhereFormResponseGoes] > > >> ) > > > > >> On Jan 21, 3:58 pm, Davor Ilic <[email protected]> wrote: > > >> > What i´m doing wrong? > > > > >> >http://mootools.net/shell/UUdVL/2/ >
