VIEW form
<div class="register ">
<?php

// let the controller action decide weather to close the modalbox
if (isset($closeModalbox) && $closeModalbox) echo "<div
id='closeModalbox'></div>";

// output an ajax or a normal form
if ($ajax->isAjax()) {
        // show ajax form
        echo $ajax->form('edit', 'post', array(
                'model'    => 'User',
                'url'      => array('controller' => 'Users', 'action' =>
'register'),
                'update'   => 'MB_content',
                'complete' => 'closeModalbox()'
        ));
} else {
        // show default form
        echo $form->create( 'User');
}
?>
        <fieldset>
        <?php
                echo $form->input('user_login', array( 'label' => 'User Name :' 
) );
                echo $form->input('user_pass', array( 'label' =>
'Password :', 'type' => 'password') );
        ?>
        </fieldset>
<?php echo $form->end('Submit');?>
</div>

please guide me to make code to complatible in firefox chrome and ie
On Apr 28, 9:14 am, "Krissy Masters" <[email protected]>
wrote:
> With all the details you provided it should be just such a simple fix.
>
> I also read palms and your future.
>
>
>
>
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
>
> Of taq
> Sent: Wednesday, April 27, 2011 11:25 PM
> To: CakePHP
> Subject: ajax is'n work correctly in chrome and ie
>
> hi
> I create modalbox form it work corectly in firefox
> but work error on ie and chrome how to fix error
> thank you
>
> --
> Our newest site for the community: CakePHP Video 
> Tutorialshttp://tv.cakephp.org
> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> others with their CakePHP related questions.
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group 
> athttp://groups.google.com/group/cake-php

-- 
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

Reply via email to