달력

0

« 2025/8 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
2012. 5. 1. 16:09

달력 날짜 검증 카테고리 없음2012. 5. 1. 16:09


function cal_apcn_bgn_dt_OnChanged(obj,strOldText,strNewText)
{
 if( gfn_IsEmpty(cal_apcn_fin_dt.Value) != true )
 {
  if(cal_apcn_bgn_dt.Value > cal_apcn_fin_dt.Value){
  cal_apcn_bgn_dt.Value = cal_apcn_fin_dt.Value;
  alert('종료일 보다 클 수 없습니다');
  //gfn_Alert(1, "Z3003", "종료일 보다 클 수 없습니다.");
  cal_apcn_bgn_dt.SetFocus();
  return;
  }
 }
}

function cal_apcn_fin_dt_OnChanged(obj,strOldText,strNewText)

 if( gfn_IsEmpty(cal_apcn_bgn_dt.Value) != true )
 {
  if(cal_apcn_fin_dt.Value < cal_apcn_bgn_dt.Value){
  cal_apcn_fin_dt.Value = cal_apcn_bgn_dt.Value;
  alert('시작일 보다 작을 수 없습니다');
  //gfn_Alert(1, "Z3003", "종료일 보다 클 수 없습니다.");
  cal_apcn_fin_dt.SetFocus();
  return;
  }
 }
}

:
Posted by 상문이