在 form 上 onsubmit 方法中 写js方法代码,获取按钮 设置 disabled 属性
用js来设置,不是用php
给按钮增加个id,然后表单提交后设置disabled属性为truedocument.getElementById('btn的id').disabled=true