sorry for 2 emails for one response. I don't mean "Set to today" I mean "Go To Today" in the calendar itself.
see, if I type '123' in the date field, then click the calendar icon to open the popup, the calendar will be on the startDate I defined, in my case January 1, 2000. I don't want the user to have to click click click back to April 2007. I want a little link that says "Go to Today" or "Today" to reset the calendar to today's date. ----- Original Message ---- From: Kelvin Luck <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Wednesday, April 25, 2007 5:02:18 AM Subject: [jQuery] Re: datePicker v2 beta > it appears in IE7 that if you have clickInput: false you cannot drag to > select the text in the input field anymore. I presume you mean if you have clickInput:true? The simple answer is not to use clickInput:true if you want people to be able to select the text! To tell the truth I wouldn't particulaly recommend using clickInput:true, it doesn't seem to intuitive or accessible to me - I just implemented it because it was a feature request from the old version of the plugin. > > also, i'd like to request that there be a 'Go To Today' link added (or > add-able). That should be easy enough to add yourself if you want to. Something like the following (untested): $('DATEPICKER_ELEMENT').setSelectedDate((new Date()).asString()) (obviously with DATEPICKER_ELEMENT replaced by an expression to select the element you have bound the date picker to). Hope that helps, Kelvin :)