If I change my view index.thtml to
<?php echo $ajax->link('JS TEST', '/tests/test_one',
array('update'=>'dummy')); ?>
<div id="dummy"></div>
it works fine.
So question is: do I really need this dummy div as target for update,
or there is some clean CakePHP way how to achieve this without this
dummy div? Or some JavaScript solution with Prototype? You know, as I
want to execute JavaScript only, it looks strange to me generate some
(even hidden) div in page.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---