出来るのだASP Q&A掲示板(過去LOG)
訪問数 52046
昨日 889
今日 776 【PR】 パソコン入門からIT専門書まで幅広く取り揃えています。セブン-イレブン受取り手数料無料のセブンアンドワイ。 |
![]() ![]() ![]() ![]() ![]() |
[3037] Re:ソースの誤りを指摘していただけませんか。 |
投稿者:oniさん 2002/12/09 11:25:38 |
間違い探し? クイズでもやろうっての? もうちょっとましな質問のしかたあるんでは? http://www.geocities.co.jp/SiliconValley/5634/t82B5_0009.html#1331 > 宜しくお願い致します。 > > if(! afDateChk2(document.frmCategory.cboStYear.value, > document.frmCategory.cboStMonth.value, > document.frmCategory.cboStDay.value, > document.frmCategory.cboEndYear.value, > document.frmCategory.cboEndMonth.value, > document.frmCategory.cboEndDay.value)){ > alert("日付の入力が不正です。"); > document.frmCategory.cboEndYear.focus(); > return false; > } > > > function afDateChk2(strSY,strSM,strSD,streEY,streEM,streED){ > var start_date; > var end_date; > > start_date = strSY &"/"& strSM &"/"& strSD; > end_date = streEY &"/"& strEM &"/"& strED; > > if CDate(start_date) > CDate(end_date) Then > return false; > end If > } > |
![]() ![]() |
![]() ![]() ![]() |
TreeBBS For ASP V.0.1.3 |