谁能帮我知道为什么disable="true"
按钮在Internet Explorer 11中不起作用而又disable="disable"
起作用吗?还提供在IE 9和IE 11中均可使用的解决方案。
禁用按钮的正确简便方法是添加disabled
属性:
<button>I am not disabled!</button>
<br /><br />
<input type="button" value="Disabled input" disabled/>
<button disabled>I am disabled!</button>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句