I have find another post with the same problem
http://groups.google.com/group/cake-php/browse_thread/thread/968e732ce6ed8a03/f59a95e95fc8ca2c?lnk=gst&q=Ajax+submit+not+work#f59a95e95fc8ca2c
On 13 Nov, 15:51, francky06l <[EMAIL PROTECTED]> wrote:
> What you mean by "does not work" ? Do you see a request or there not
> ajax request done ?
> Also what is the content of the "MyForm" after the first call ?
>
> On Nov 13, 12:17 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi
> > I have this problem ( I think that it is a cake bug )
> > I have a div where I have a ajax form like this.
>
> > <div id="MyForm">
> > <form onSubmit="return false;">
>
> > <!----- MY INPUT ---->
> > <?php echo $ajax->submit('Modify',
> > array(
> > 'url'
> > =>''/samecontroller/sameaction/",
> >
> > 'update'=>'MyForm'
> > )
> > );
>
> > ?>
>
> > </form>
> > </div>
>
> > Now the form works only the first time .The following times it doesn't
> > work ( it does nothing).
> > Has someone an idea?
> > Many Thanks
> > Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---