hi guys,... how you all doing,.... can anyone help please,...
I got an ajax form that submits and add bookmarks to a site and it's
working,...
Is it possible to Update in a page with 2 divs ? and how can I do that in a
form: , 'update' => 'updateBookmark1',...? and where should I insert
'updateBookmark2',... ??
thanks in advance,
<div id="updateBookmark1"> this update confirmation </div>
<div id="updateBookmark2"> this need to update content </div> ,... kind of
refreshing content in a page
.............
.............
.............
<p style="float: left; margin: 0 0 0 35px;">
<?php echo $ajax->submit('Add', array('url'=>
array('controller'=>'bookmarks', 'action'=>'add'), 'update' =>
'updateBookmark1', 'complete' => 'javascript:resetBookmarkForm();' )); ?>
<?php echo $form->end(); ?>
</p>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.