Re: [jquery-ui] datepicker and setting today's date

2010-01-14 Thread Balázs Suhajda
If I understand correctly, you would like the input prefilled with today's date before even opening the calendar, right? If so, you have to do that yourself. Datepicker only helps pick a date once opened! ... but you can use it's utility functions to help you do that. For example: var inp

[jquery-ui] datepicker and setting today's date

2010-01-14 Thread Tractor Guy
I have a form that has a text input field with a datepicker attached. I want to display today's date automatically without having to actually go into the datepicker and select it. Sounds simple enough but I am having difficulty. Here is the javascript function... $(function() {