<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>if(txtN[i].type="text"){ <br>txtN[i].readOnly=false; <br>} <br>} <br>} <br></script> <br><input type="text" id="contactus1" readonly> <br><input type="text" id="contactus2" readonly> <br><input type="text" id="contactus3" readonly> <br><input type="button" name="button4" value="修正" onclick="doclick1();" /> <br></txtn.length> </div>