<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" 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> </div>