CjuiDatepicker

Comparing #1 with #2

Content

If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:
 
 
 
```php 'onSelect'=>'js:function(selected) { $("#HostelRoomStatusMaster_room_status_master_end_date").datepicker("option","minDate",selected); }', ```