I've been triying to include some parameters in the Ajax helper from
cake, I thought by just adding the (updateElement, afterUpdateElement)
in the array $ajaxOptions you could make these parameters work but they
don't, I dont't know what Iam doing wrong I have revised the ajax
helper script and I cant't make it work I think I will make just my own
helper for autocomplete, I think that would be faster and better.
//These all all the available options for most of the ajax helpers but
I can't just add to this array (updateElement, afterUpdateElement). to
make them work
and when I call the ajax helper:
$ajax->autoComplete('users/serach', array('size'=>30,
'afterUpdateElement'=>'addUser')
//The autocomplete works fine
var $ajaxOptions = array('type', 'confirm', 'condition', 'before',
'after', 'fallback', 'update', 'loading', 'loaded', 'interactive',
'complete', 'with', 'url', 'method', 'position', 'form', 'parameters',
'evalScripts', 'asynchronous', 'onComplete', 'onUninitialized',
'onLoading', 'onLoaded', 'onInteractive', 'insertion',
'requestHeaders');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---