Yii 1.1: CjuiDatepicker

5 followers

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:

'onSelect'=>'js:function(selected) {
$("#HostelRoomStatusMaster_room_status_master_end_date").datepicker("option","minDate",selected);
                }',

Total 1 comment

#15842 report it
Ahamed Rifaideen at 2013/12/22 01:31am
Its working

superb brother. its working thank you.

Leave a comment

Please to leave your comment.

Write new article