Thanks Jhon

On 16 feb, 10:11, John Andersen <j.andersen...@gmail.com> wrote:
> What you want to do is not an ajax request, just use ordinary
> javascript to hide/show the element.
> Enjoy,
>    John
>
> On Feb 16, 5:48 pm, edwingt <edwin.al...@gmail.com> wrote:
>
> > I have a questio,
> > is posible to create an ajax call just to show and hide some iput
> > fields. Without calling a controller action.
> > Im using
> > $options = array('url' => period,'update' => 'period',
> >  'complete' => "Element.appear('period');");
> > echo $ajax->observeField('EventoPeriodico',$options);
>
> > The field observed is a checkbox, and I render the elements in the
> > period action.
>
> > But what I have to do just to show/hide the elements in "period" div
> > without calling the controller and rendering a new view.
>
> > Thanks in advance.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to