[jquery-ui] Re: Showing datepicker when clicking span/div

2009-09-16 Thread Fontzter
See the dialog option for the datepicker. Just put this in the click event of your span and then use the onSelect to do what you want with the date. http://jqueryui.com/demos/datepicker/#method-dialog Hth, Dave On Sep 14, 7:56 pm, Chris Kilmer wrote: > I've been able to get the datepicker w

[jquery-ui] Re: Showing datepicker when clicking span/div

2009-09-16 Thread Miket3
I did some playing around and came up with 2 methods that arent perfect but get you closer to what you asked for. The issue is that datepicker really wants to use the onFocus or a button click for it to be activated. 1. If you don't mind showing your text as a button this is the simplest method,