disable html input & pointer-events
disable html input & pointer-events
css
https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events
https://css-tricks.com/almanac/properties/p/pointer-events/
how to disable input field in css
.avoid-clicks {
pointer-events: none;
}
js
how to disable input field in js
https://stackoverflow.com/questions/12896698/how-to-disable-an-input-field-using-javascript
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/12686359.html
未经授权禁止转载,违者必究!