<div class="htmlarea"><textarea id="runcode44785"> <title>测试</title> <meta http-equiv="Content-type" content="text/html; charset=gb2312"> <meta http-equiv="pragma" content="no-cache"> <style type="text/css"><!-- .textiploghidden { BORDER-RIGHT: 2px; BORDER-TOP: 2px; FONT-SIZE: 12px; BORDER-LEFT: 2px; WIDTH: 30px; COLOR: #ffffff; BORDER-BOTTOM: 2px; FONT-FAMILY: sans-serif; HEIGHT: 22px; border: 1 solid #000000 } .textipinput { BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-SIZE: 11px; BORDER-LEFT: 0px; WIDTH: 30px; COLOR: #000000; BORDER-BOTTOM: 0px; FONT-FAMILY: sans-serif; HEIGHT: 19px; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center } --></style> <script language="JavaScript1.2"> function checkIPValid_1() { if(event.shiftKey) { event.returnValue=false; return; } var keyCode = parseInt(event.keyCode); var result=true; if((keyCode==8) || (keyCode==37) || (keyCode==39) || (keyCode==9)) return; if((keyCode>=48) && (keyCode<=57)) return; else result=false; if((keyCode>=96) && (keyCode<=105)) return; else result=false; if((keyCode==110) || (keyCode==190) || (keyCode==32)) { event.keyCode=9; return; } if(result==false) event.returnValue=false; } function checkIPValid_2(formname,ip) { var form = eval("document."+formname) var ip_1 = parseInt(eval("form."+ip+".value")); if(ip_1>223) { eval("form."+ip).value="223"; alert(ip_1+"涓</script></textarea></div>