It would be helpful if you can give more details of where exactly are
you having problems: can you capture the event? can you make the ajax
request and send the data to the controller? can you save the data?

A straightforward way could be adding this to your view:

<?= $javascript->codeBlock(<<<EOD
$('ControllerTextareaid').observe('blur',function() {
    new Ajax.Request('/controller/savetextarea', {
            parameters: Form.serializeElements([$('ControllerId'),$
('ControllerTextareaid')])
        });
    });
EOD
); ?>

Note that this sends only the id and the textareafields.


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