1
2
3
4
$(el).find("input[name='a']").attr("style", "background-color:#f6f6f6;cursor:no-drop");
$(el).find("input[name='a']").attr("readonly", "readonly");
$(el).find("input[name='a']").attr("onclick", "");
$(el).find("input[name='a']").attr("onfocus", "");
Post
Cancel
input输入框锁定
This post is licensed under
CC BY 4.0
by the author.