²»ºÃÒâ˼£¬»¹ÊǸղŵÄJSP ¼ìË÷°´Å¥ÎÊÌ⣬Õâ»ØÓдúÂë
HTML code function nextPost(event) { if(!isAllCheckErr(event)){ var msg = ""; if(!isValidDate(getObjByName("koufuDateFromYYYY"), getObjByName("koufuDateFromMM"), getObjByName("koufuDateFromDD")) || !isValidDate(getObjByName("koufuDateToYYYY"), getObjByName("koufuDateToMM"), getObjByName("koufuDateToDD"))){ msg += "\r\n½»¸¶ÈÕ¤ÎÈëÁ¦ÐÎʽ¤¬Õý¤·¤¯¤¢¤ê¤Þ¤»¤ó(Àý£º2000Äê01ÔÂ01ÈÕ)¡£"; alert("Here"); } if(!isValidYMDConditin(getObjByName("koufuDateFromYYYY"), getObjByName("koufuDateFromMM"), getObjByName("koufuDateFromDD"), getObjByName("koufuDateToYYYY"), getObjByName("koufuDateToMM"), getObjByName("koufuDateToDD"))){ msg += "\r\n½»¸¶ÈդΗÊË÷Ìõ¼þ¤Ï¡¢From <= To¤ÇÈëÁ¦¤·¤Æ¤¯¤À¤µ¤¤¡£"; alert("Here"); } if(!isValidDate(getObjByName("unpanEndDateFromYear"), getObjByName("unpanEndDateFromMonth"), getObjByName("unpanEndDateFromDay")) || !isValidDate(getObjByName("unpanEndDateToYear"), getObjByName("unpanEndDateToMonth"), getObjByName("unpanEndDateToDay"))){ msg += "\r\n½»¸¶ÈÕ¤ÎÈëÁ¦ÐÎʽ¤¬Õý¤·¤¯¤¢¤ê¤Þ¤»¤ó(Àý£º2000Äê01ÔÂ01ÈÕ)¡£"; alert("Here"); } if(!isValidYMDConditin(getObjByName("unpanEndDateFromYear"), getObjByName("unpanEndDateFromMonth"), getObjByName("unpanEndDateFromDay"), getObjByName("unpanEndDateToYear"), getObjByName("unpanEndDateToMonth"), getObjByName("unpanEndDateToDay"))){ msg += "\r\n½»¸¶ÈդΗÊË÷Ìõ¼þ¤Ï¡¢From <= To¤ÇÈëÁ¦¤·¤Æ¤¯¤À¤µ¤¤¡£"; alert("Here"); } if(!isValidDate(getObjByName("shobunEndDateFromYear"), getObjByName("shobunEndDateFromMonth"), getObjByName("shobunEndDateFromDay")) || !isValidDate(getObjByName("shobunEndDateToYear"), getObjByName("shobunEndDateToMonth"), getObjByName("shobunEndDateToDay"))){ msg += "\r\n½»¸¶ÈÕ¤ÎÈëÁ¦ÐÎʽ¤¬Õý¤·¤¯¤¢¤ê¤Þ¤»¤ó(Àý£º2000Äê01ÔÂ01ÈÕ)¡£"; alert("Here"); } if(!isValidYMDConditin(getObjByName("shobunEndDateFromYear"), getObjByName("shobunEndDateFromMonth"), getObjByName("shobunEndDateFromDay"), getObjByName("shobunEndDateToYear"), getObjByName("shobunEndDateToMonth"), getObjByName("shobunEndDateToDay"))){ msg += "\r\n½»¸¶ÈդΗÊË÷Ìõ¼þ¤Ï¡¢From <= To¤ÇÈëÁ¦¤·¤Æ¤¯¤À¤µ¤¤¡£"; alert("Here"); } if(!isValidDate(getObjByName("saishuShobunEndDateFromYear"), getObjByName("saishuShobunEndDateFromMonth"), getObjByName("saishuShobunEndDateFromDay")) || !isValidDate(getObjByName("saishuShobunEndDateToYear"), getObjByName("saishuShobunEndDateToMonth"), getObjByName("saishuShobunEndDateToDay"))){ msg += "\r\n½»¸¶ÈÕ¤ÎÈëÁ¦ÐÎʽ¤¬Õý¤·¤¯¤¢¤ê¤Þ¤»¤ó(Àý£º2000Äê01ÔÂ01ÈÕ)¡£"; alert("Here"); } if(!isValidYMDConditin(getObjByName("saishuShobunEndDateFromYear"), getObjByName("saishuShobunEndDateFromMonth"), getObjByName("saishuShobunEndDateFromDay"), getObjByName("saishuShobunEndDateToYear"), getObjByName("saishuShobunEndDateToMonth"), getObjByName("saishuShobunEndDateToDay"))){ msg += "\r\n½»¸¶ÈդΗÊË÷Ìõ¼þ¤Ï¡¢From <= To¤ÇÈëÁ¦¤·¤Æ¤¯¤À¤µ¤¤¡£"; alert("Here"); } if(errorHandler(getObjById("listSearch"), msg)) { document.Em0057ActionForm.action = "<%=request.getContextPath()%>/em0057Next.do"; getObjByName("pageIndex").value = 0; document.Em0057ActionForm.submit(); } } return false; }