Can you check first if your ajax call is running (using Firebug on FF
or same) .. Long time I haven;t work with prototype, I prefer
jQuery ...

On Sep 9, 3:44 pm, Tomfox Wiranata <tomfox.wiran...@gmail.com> wrote:
> thx Dmitry...i tried to implement sth, based on your proposal
>
> ok for testing purpose i created an ajax view called   "neat"
>
> <?php
>
>                 echo "if you see this, ajax works";
>  ?>
>
> and this is my ajax link in a view called "render_attachment"
>
>                                 echo $ajax->link('x', array('controller' => 
> 'links', 'action' =>
> 'test'), array('update' => 'divi'));
>
>                                 echo $ajax->div('divi');
>                                 echo $ajax->divEnd('divi');
>
> now the test() fct in my controller looks like this
>
>         function test()
>         {
>                 $this->render('neat', 'ajax');
>         }
>
> but nothing happens...no "if you see this, ajax works" text appears
> from the view i tried to render with ajax..
>
> any idea whats going wrong here?
>
> thank you :)

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