使用禁用道具时,按钮在IE 9中消失

时间:2015-08-05 10:36:41

标签: html

<button type="button" id="update">Submit</button>
<button type="button" id="updated">Update</button>

 $("#updated").click(function(){
     $("#update").prop('disabled',true);
 })

您好,

我想要禁用按钮,当我在上面使用它适用于所有浏览器,除了某些版本的IE,如IE 9,在IE 9按钮中,当我使用上面的代码时,它会消失。

任何人都可以说我为什么会这样。

谢谢, Nandkishor

0 个答案:

没有答案
相关问题