datepicker Max,Min 옵션

jsp 2014. 7. 30. 09:45
onClose : function(selectedDate) {
    if($(this).attr('name')=='startDate'){
      $('input[name=endDate]').datepicker("option","minDate",selectedDate );
    }else if($(this).attr('name') == 'endDate') {
      $('input[name=startDate]').datepicker("option","maxDate", selectedDate);
    }
},


'jsp' 카테고리의 다른 글

jstl 모음  (0) 2014.12.30
script Timestamp 변환  (0) 2014.11.05
jqGrid Column show/hide 옵션  (0) 2014.07.31
jqGrid 가로스크롤  (1) 2014.07.08
jsp파일 에러시 찾아가는 경로  (0) 2014.06.11
Posted by 우주정복☆
,