Page 1 of 1

[ASK] about zendx_jquery

Posted: Sun Feb 07, 2010 9:40 am
by zipcoi
hii.. I want to ask about zendx_jquery..

I try to use zendx_jquery in my application that I build using zend framework.. I follow all step in the tutorial but it doesn't work.. I only want to show date picker..

this is my code:
> in controller:

Code: Select all

 
public function init() {
        ZendX_JQuery::enableView($this->view);
}
 
> in layout:

Code: Select all

 
<?php echo $this->jQuery(); ?>
 
> in view:

Code: Select all

 
Date: <?php echo $this->datePicker("dp1", '', array('defaultDate' => date('Y/m/d', time()))); ?>
 
but when I point to my browser.. it doesn't show anything ?
what's wrong with my code ?