I put the code below between head. It works!
For the function doAjaxCall( ), I really don't know where should I put.
So, I just combine the two parts together. Now, I know the logic to do
it.

Thanks.Tim
Have a good Day!!


<head>
<?php print
$javascript->event('window','load',$ajax->remoteFunction(array("url"=>"/posts/index/","update"=>"posts_view","type"=>"asynchronous")),false)?>
</head>


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

Reply via email to