Do you have a div with ID playlist in the view?

On Apr 7, 3:29 am, "[email protected]" <[email protected]>
wrote:
> im having an error in my view like "PeriodicalExecuter is not
> defined"... i dont have an idea what causing this.
> here's my code:
>
> controller:
> public $helpers = array('html', 'javascript', 'ajax');
>
> view:
> echo $ajax->remoteTimer(array('url' => array('controller' =>
> 'schedules', 'action' => 'index'),
>                                                                'update' => 
> 'playlist',
>                                                                'complete' => 
> 'alert
> ("request complete")',
>                                                                'frequency' => 
> 2));
>
> can you help me with this guys? probably im missing something here...
>
> thank you.
--~--~---------~--~----~------------~-------~--~----~
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