Tuesday, May 3, 2011

Re: $this->Ajax->Form Question to avoid double submit

Another update:

I added a class name to the form
<form id="form329262796" class="cForm" accept-charset="utf-8" action="/
Berger/members/comment" method="post" update="msg" onsubmit="return
false;">

And changed the jquery to
$('.cForm').submit(function() {

But there is still no difference :-(
Still 2 submits.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: