Hi
I am fairly new to Cake and need some help.
I cannot seem to figure out how call an Ajax remote method via the
onload event of the document. I have got this working well:
<?php echo $ajax->link('dirlist', 'dirlist', array('update' =>
array('first'))); ?>
but I need something like:
<?php echo $ajax->documentEvent('onload', 'dirlist', 'dirlist',
array('update' => array('first'))); ?>
Hope someone can help or offer a suggestion.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---