Hi gurus, I have the following issue: I have a form that works ok
processing /comments/add this way: <form action="<?php echo $html-
>url('/comments/add'); ?>" method="post">. it works ok, but when i
want to do the same with ajax, I do echo $ajax->form(array('action' =>
'/comments/add'), 'post', array('update' => 'comments')); the
"comments" div is updated but the form data is not passed to the 'add'
function, and the add function response is "no data". The textarea
(tinymce) keeps the info i put on. If I click the submit button again,
then the form is processed ok...

i'm confused... help.!!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to