i stopped using the build in javascript / ajax functions. they can be
confusing sometime and prototype is not very intuitive to write/read ..
understand.
Instead i´m using jQuery now, which really enlightend me. I hated JS
before but with jQuery an ajax form submit can be as easy as this on
line of code:
$("#invoiceFilterForm").ajaxForm("#invoices_list");
take the form with the id of invoiceFilterForm and update the element
with id invoices_list with the results of the callback. There is no
inline markup needed.
two more hint´s you should use the "head helper" for cakePHP and look
at some jQuery plugins. It might take you some time to switch and take
a look into jQuery, but afterwards you´ll get on faster.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---