Tuesday, August 31, 2010

Why cakephp forms doesn't work with jquery (mb)menu ?

Hi

In my menu (jquery plugin named (mb)Menu) i wrote a simple login form:


<div id="login" class="mbmenu">
<a rel="title" >Login panel</a>
<a rel="separator"> </a>
<a rel="text" class="rel_text">
<?php echo $form->create('User', array('action' => 'login')); ?>
<span class="text_form">login:</span><br />
<?php echo $form->input('username', array('label' => '')); ?>
<span class="text_form">password:</span><br />
<?php echo $form->input('password', array('type' => 'password',
'label' => '')); ?>
<?php echo $form->end('Log in!'); ?>
</a>
</div>

Aftet pressing on submit button nothing is happening.

This form works well outside this menu.

Can somebody tell me why it isnt working ?

Thanks for your help.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

No comments: