Date Picker On Cakephp

Procedures on How to incorporate Date Picker on Cakephp

1. Download files on http://jqueryui.com/download

2. Place the files on “webroot\js\datepicker”

3. Place these on ctp view
echo $this->Html->css(“base/jquery.ui.all.css”, null, array(“inline”=>false));
echo $html->script(‘ui/jquery.ui.core.js’, false);
echo $html->script(‘ui/jquery.ui.widget.js’, false);
echo $html->script(‘ui/jquery.ui.datepicker.js’, false);

4. Thats it!

5. Enjoy!

Tags:

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.