<form name=form1>
<input type=button value=aa name=input1 disabled>
<input type=button value=ok onclick="document.form1.input1.disabled=false">
</form>
<input type=button value=aa name=input1 disabled>
<input type=button value=ok onclick="document.form1.input1.disabled=false">
</form>
<input type=button value=ok onclick="input1.disabled=false;input1.value='enable'">
<script lanuguage=javascript>
<!--
function disabled()
{
window.document.form1.submit1.disabled=false
}function ok()
{
window.document.form1.submit1.disabled=true
}
-->
</script><form name=form1>
<input type=botton name=submit1>
<script language=javascript>
<!--
disabled;
--><input type=botton name=submit2 onclick="javascript:ok();">
</form>试试看能帮上你不?