<div class="codetitle"> <span><a style="CURSOR: pointer" data="97062" class="copybut" id="copybut97062" onclick="doCopy('code97062')"><u>复代码</u></a></span> 代码如下:</div> <div class="codebody" id="code97062"> <br><script> <br>function doclick1(){ <br>var txtN = document.getElementsByTagName("input"); <br>for(i=0;i<txtN.length;i ){ <BR>if(txtN[i].type="text"){ <BR>txtN[i].readOnly=false; <BR>} <BR>} <BR>} <BR></script> <br><input type="text" id="contactus1" 읽기 전용> <br><input type="text" id="contactus2" 읽기 전용> <br><input type="text" id="contactus3" 읽기 전용> <br><input type="button" name="button4" value="修改" onclick="doclick1();" /> <br> </div>