i m writing a code like this

<?php
                         echo $ajax->link(
                 $post['Student']['rollno'], array(
                 'controller' => 'students', 'action' => 'view', 
$post['Student']
['id'],'loaded' => 'alert("test")'), array(
                 'update' => 'post', 'position' => 'top')
                ); ?>


but javascript function is not working

can any one tell me how to call javascript function from ajax in cake
--~--~---------~--~----~------------~-------~--~----~
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