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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to