<form name="form1">
<input type="text" name="text1" disabled>
<input type="button" onclick="change(document.form1.text1)">
</form><script>
function change(canshu){
canshu.disable=false;
}
</script>
<input type="text" name="text1" disabled>
<input type="button" onclick="change(document.form1.text1)">
</form><script>
function change(canshu){
canshu.disable=false;
}
</script>
<input type="text" name="text1" disabled>
<input type="button" onclick="change(document.form1.text1)">
</form><script>
function change(canshu){
alert(canshu)
canshu.disabled=false;
}
</script>少写了一个D