here's my code:
<form onsubmit="alert('hehe');" style="display:inline">

but no messagebox shown.

the form was not really submiied.

here's the "submit" button:
        <?php
        $options = array(
            'url'=>'/news/add',
            'update' =>'newListBox',

'complete'=>$ajax->remoteFunction(array('url'=>'/news/show/latest','update'=>'newsContent')),
            'class'=>'btn'
        );
        echo $ajax->submit('Post', $options); 
        ?>


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

Reply via email to