編輯和刪除按鈕禁用不工作在IE9中,但它在IE 11中工作我已經應用類禁用按鈕來編輯和刪除按鈕..它適用於所有的瀏覽器,但它在IE9不工作...編輯和刪除按鈕禁用不工作在IE9中,但它在IE 11
.disablebutton {
cursor: default;
pointer-events: none;
color:gray !important;
}
編輯和刪除按鈕禁用不工作在IE9中,但它在IE 11中工作我已經應用類禁用按鈕來編輯和刪除按鈕..它適用於所有的瀏覽器,但它在IE9不工作...編輯和刪除按鈕禁用不工作在IE9中,但它在IE 11
.disablebutton {
cursor: default;
pointer-events: none;
color:gray !important;
}
IE9不支持CSS指針的事件屬性
List of browsers that do have support of pointer-events
您可以使用disabled
屬性,然後用它選擇了造型
<button disabled>I'm disabled</button>
CSS
button[disabled] {
cursor: default;
color: gray;
}
Pointer-events
不IE9工作。檢查這個http://caniuse.com/#search=pointer-events。
嘗試檢查JavaScript端的類,然後禁用該功能。
我使用來檢查瀏覽器的兼容性。
IE <11不支持'pointer-events'。你可以使用'disabled'屬性來代替。 – Teemu 2015-02-09 12:19:38