//javascript部分代码
<script type="text/javascript">
function changeinput(){var obj1 = document.getElementById("id1");
var obj2 = document.getElementById("id2");
var obj3 = document.getElementById("id3");
obj1.disabled="";
obj2.disabled="";
obj3.disabled="";
}
</script>
//html部分代码
<input type="text" id="id1" disabled="disabled"/>
<input type="text" id="id2" disabled="disabled"/>
<input type="text" id="id3" disabled="disabled"/>