¡@

Home 

2014/10/16 ¤W¤È 12:02:49

jquery Programming Glossary: datemax

JQuery datepicker- 2 inputs/textboxes and restricting range

http://stackoverflow.com/questions/330737/jquery-datepicker-2-inputs-textboxes-and-restricting-range

11 1 1 Set this to your absolute minimum date dateMin min dateMax null dayRange 6 Set this to the range of days you want to restrict.. txtStartDate if #txtEndDate .datepicker getDate null dateMax #txtEndDate .datepicker getDate dateMin #txtEndDate .datepicker.. dayRange if dateMin min dateMin min else dateMax new Date Set this to your absolute maximum date else if input.id..

JQuery datepicker- 2 inputs/textboxes and restricting range

http://stackoverflow.com/questions/330737/jquery-datepicker-2-inputs-textboxes-and-restricting-range

false function customRange input var min new Date 2008 11 1 1 Set this to your absolute minimum date dateMin min dateMax null dayRange 6 Set this to the range of days you want to restrict to if input.id txtStartDate if #txtEndDate .datepicker.. this to the range of days you want to restrict to if input.id txtStartDate if #txtEndDate .datepicker getDate null dateMax #txtEndDate .datepicker getDate dateMin #txtEndDate .datepicker getDate dateMin.setDate dateMin.getDate dayRange if dateMin.. dateMin #txtEndDate .datepicker getDate dateMin.setDate dateMin.getDate dayRange if dateMin min dateMin min else dateMax new Date Set this to your absolute maximum date else if input.id txtEndDate dateMax new Date Set this to your absolute..