复制代码代码如下:
<script>
function dclick1 () {
var txtn = document.getElementsBytagName ("entrada");
para (i = 0; i <txtn.length; i ++) {
if (txtn [i] .type = "text") {
txtn [i] .Readonly = false;
}
}
}
</script>
<input type = "text" id = "contactus1" readonly>
<input type = "text" id = "contactUs2" Readonly>
<input type = "text" id = "contactUs3" Readonly>
<input type = "button" name = "button4" value = "修改" onClick = "doClick1 ();" />