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