让按钮点击一次后变灰,再点就不起作用了
<input type="button" value="我只能点一次" onclick="disabled=true">
<input type="button" value="我只能点两次" onclick="this.hutia?disabled=true:this.hutia=true">
这个是相关的对象
onsubmit = "obj.diabled ='true';"
发布时间: 2012-10-28 09:54:44 作者: rapoo
让按钮点击一次后变灰,再点就不起作用了
<input type="button" value="我只能点一次" onclick="disabled=true">
<input type="button" value="我只能点两次" onclick="this.hutia?disabled=true:this.hutia=true">
这个是相关的对象
onsubmit = "obj.diabled ='true';"