What you have there looks like it should work okay. Check that your debug 
is not set at zero and try it again, it's probably throwing an error you're 
not seeing. 
Also, you can use Configure::write('debug', 2); directly in the controller 
method for your view. 

HTH, 
ED 

On Thursday, March 22, 2012 5:41:27 AM UTC-4, heohni wrote:
>
> Hi,
>
> I tried to use js this way:
>
> $this->Html->scriptStart(​array('inline' => false));
>
> echo $this->Js->alert('I am in the javascript');
>
> $this->Html->scriptEnd();
>
> echo $this->Js->writeBuffer();
>
> But my page is empty and I don't get any output. There is also no 
> javascript in source.
>
> I use already the ajax pagination on another page, where it works well!
> I have included public $helpers = array('Html', 'Text', 'Session', 'Form', 
> 'Js', 'Propertylinks', 'Captcha');
>
> Thanks!!
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to