Hi,

I am using ajax->remoteFunction to update a div. Also I am using
tabber.js script (available on CakePHP snippet library). Although my
div gets updated with right content, the div does not have tabs as
expected. I tried using onComplete option but when I look the source
code, the onComplete option is not there.

Here is my ajax->remoteFunction call
<div class="record"
       onmouseover= "<?= $ajax->remoteFunction(array(
                                                'update'=>'details',
                                        'url'=>'/articles/view/' . 
$article['id'],
                                                        'onComplete' =>
"function(){new tabberObj('details')}"
 )); ?>">

here is the source code that is produced
<div class="record"
                onmouseover= "new
Ajax.Updater('details','/cake/articles/view/43', {asynchronous:true,
evalScripts:true, requestHeaders:['X-Update', 'details']})">

Can anyone help me in finding why onComplete is not in source code
Regards


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

Reply via email to