Hi, everyone

I use the $ajax->sumit to save form without refresh. I can see the
whole form except the save button and also got error message like
below:
Fatal error: Cannot unset string offsets in D:\Program
Files\xampp\htdocs\cake\cake\libs\view\helpers\ajax.php on line 697

This is my code about the edit.thtml
<form action="<?php echo
$html->url('/posts/edit/'.$html->tagValue('Post/id')); ?>"
method="post" onSubmit="return false;" >

<div class="submit">
        <?php echo $ajax->submit('Save',
        'posts/update',
        array('update'=>'posts_list'));?>
</div>

Can anyone help me figure out why it happend?


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