Create a specific date range with jQuery datepicker

I'm trying to use the jQuery date picker to create a start date calendar and an end date calender. I'm using the "date range" example seen here: http://jqueryui.com/demos/datepicker/#date-range

The start date can not be before today's date and the end date can be 30 days past the selected start date.

For example if I chose a start date of May 17th in the first datepicker, then the end date in the second datepicker can only be selectable for May 18th through June 18th.

Here's my code:




        
    Untitled Document
    
    
    


  


Any help would be appreciated. Thanks!

6
задан bigmike7801 7 May 2011 в 15:51
поделиться