There's a dedicated mailing list for help with jQuery UI plugins:

http://groups.google.com/group/jquery-ui

- Richard

On Fri, Jan 16, 2009 at 1:10 PM, Jason Meckley <jasonmeck...@gmail.com>wrote:

>
> today I'm learnig jquery. I downloaded jquery-1.3.min.js and jquery-ui-
> personalized-1.6rc5.min.js with everything.
> I'm trying to get the calendar working. so far I have most elements
> that I need:
> start on saturday
> formatted date
> select year/month
> display with image and textbox focus
>
> there are 2 things remaining.
> 1. disable specific days (if date != saturday, disable)
> 2. set the default date.
>
> the getDate and setDate do not seem to work at all. here is my code:
> <html>
> <head>
> <script src="jquery-1.3.min.js"></script>
> <script src="jquery-ui-personalized-1.6rc5.min.js"></script>
> <script>
>    $(document).ready(function() {
>                var birthday = new Date(1980, 11, 25);
>                $('#selected_date').datepicker({
>                        setDate:birthday,
>                        dateFormat:"mm-dd-y",
>                        changeMonth:true,
>                        changeYear:true,
>                        firstDay:6,
>                        showOn: 'both'}
>                );
>        });
> </script>
> </head>
> <body><input type="textbox" id="selected_date"/></body>
> </html>
> am I missing something, or is this functionality broken? I'm assuming
> when I pass in the setDate property the calendar will show that date
> selected and the value will be placed in the textbox.
>

Reply via email to