Thanks all.

:)

On 4 Jul, 09:59, da_student <[EMAIL PROTECTED]> wrote:
> two ways:
> echo '<input id="showtasks2" type="radio" onClick="new
> Ajax.Updater(\'divname\',\'actionname\' , {asynchronous:true,
> evalScripts:true});')"';
>
> or better (my oppinion)
> echo $form->input('id', array('label'=>false,...,'type'=>'checkbox'));
> echo $ajax->observeField('id', array( 'url' => 'actionname', 'update'
> => 'divname', 'frequency' => 0.01));
>
> On Jul 3, 9:02 pm, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > Hi again.
>
> > Can anyone tell how do I can make a checkbox fire an ajax event? I've
> > tryed with $ajax->observeField but I must be using it wrong because
> > nothing happens. Is there any other way to do this?
>
> > Thanks.- Ocultar texto citado -
>
> - Mostrar texto citado -

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

Reply via email to