On Mon, Mar 14, 2011 at 9:21 AM, heohni <[email protected]> wrote: > Hi, > > I have this form: > <?php echo $this->Ajax->Form('searchMember', 'post', array('update' => > 'target', 'url' => array('action' => 'searchMember'))); ?> > <p class="label_field_pair"> > <label for="q">Suchwort:</label> > <input type="text" name="q" value="" /> > <input type="hidden" name="bst" id="bst" value=""> > <input type="submit" value="filtern" id="overlayfilter"> > </p> > <?php echo $this->Ajax->Form->end(); ?> > > And everytime I press the submit button, the request is send 2 times, > I can see this with firebug in my firefox. > Is there something wrong in the $this->Ajax->Form part?
I don't use the AjaxHelper so can't be sure. Can you show the relevant HTML and JS that's created? And are you using JQuery? Which version? -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
