[ASK] about zendx_jquery

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zipcoi
Forum Newbie
Posts: 10
Joined: Tue May 06, 2008 2:55 am

[ASK] about zendx_jquery

Post 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 ?
Post Reply