复制代码代码如下:
<cript>
fonction doclick1 () {
var txtn = document.getElementsByTagName ("entrée");
pour (i = 0; i <txtn.length; i ++) {
if (txtn [i] .type = "text") {
txtn [i] .readonly = false;
}
}
}
</cript>
<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 ();" />