<div class="codetitle"> <span><a style="CURSOR: pointer" data="4284" class="copybut" id="copybut4284" onclick="doCopy('code4284')"><u>复代码</u></a></span> 代码如下:</div> <div class="codebody" id="code4284"> <br><script 언어="javascript1.2"><! -- <BR>function test() { <BR>if((a.b.value.indexOf ("***") == 0)||(a.b.value.indexOf ("****") == 0) ){ <BR>alert(":)"); <BR>a.b.focus(); <BR>false 반환;} <BR>} <BR>// --></script> <br><form name=a onsubmit="return test()"> <br><입력 유형=텍스트 이름=b> <br><input type="submit" name="Submit" value="check"> <br></form><br> </div>