2020年5月7日
摘要: css: .dialogBack { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 1999; background: rgba(0, 0, 0, 0.6); } .tck { width: 62%; ba 阅读全文
posted @ 2020-05-07 11:29 小菟同学 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 第一种: <input type="text" onkeyup="checkLen(this)" /> function checkLen(obj){ var maxChars = 8;//最多字符数 if (obj.value.length > maxChars){ obj.value = obj 阅读全文
posted @ 2020-05-07 11:24 小菟同学 阅读(452) 评论(0) 推荐(0) 编辑

……