Hello. Yeah, tried that. It shows that it is throwing an error when it
tries to call the Javascript function. There's got to be something
wrong with my paths to the js and css files.

Does anything stick out?

Thanks

On Apr 14, 3:08 pm, Marcin Domanski <tram...@gmail.com> wrote:
> Hey,
> getfirebug.com and look at the console/parse output
> HTH,
> --
> Marcin Domanskihttp://kabturek.info
>
> On Tue, Apr 14, 2009 at 19:44, cpeele <chris.peel...@gmail.com> wrote:
>
> > Hey guys,
>
> > I'm running CakePHP 1.2 and am trying to use the jQuery UI Datepicker
> > but I'm running into some problems.
> > Actually, nothing happens.
>
> > Here are the paths to the necessary jQuery files:
>
> > Javscript files:
> > htdocs\TeamPlayer\app\webroot\js
>
> > CSS files:
> > htdocs\TeamPlayer\app\webroot\css\smoothness
>
> > Here's the view code:
> > <?php
> >        $html->css('smoothness/jquery-ui-1.7.custom'), null, null, false);
> >        $javascript->link(array('jquery-1.3.2.min', 'jquery-
> > ui-1.7.custom.min'), false);
> > ?>
>
> > <script type="text/javascript">
> >        $(function() {
> >                $("#datepicker").datepicker();
> >        });
> > </script>
>
> > <input type="text" name="datepicker" id="datepicker" />
>
> > Which outputs the following in the browsers view source:
>
> > <link rel="stylesheet" type="text/css" href="/css/smoothness/jquery-
> > ui-1.7.custom.css" />
> > <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></
> > script>
> > <script type="text/javascript" src="/js/jquery-ui-1.7.custom.min.js"></
> > script>
>
> > I'm not sure what I am doing wrong. The textbox appears but no
> > calendar pops up.
>
> > Any help would be greatly appreciate!
>
> > Thanks,
>
> > Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to