Well you do not need observeField in fact, You could write a
javascript block :
echo $javascript->codeBlock();
?>
function myfunc()
{
<?php echo $ajax->remoteFunction(array('url' => 'where you want to
go', 'with' => 'Element.serialize(\'id_of_obersered_field\')',
'update' => 'divtoupdate')); ?>
}
<?php
echo $javascript->blockEnd();
?>
Just associate myfunc to the event ..
hth
On Jun 24, 9:58 pm, adnangohar <[EMAIL PROTECTED]> wrote:
> Thanx alot .......... i figured it out earlier ............... just
> need one more clarification , any idea how to change event on $ajax ->
> observerField() ??
>
> Regards,
> Adnan Gohar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---