摘要: // 获取焦点 let txt = document.getElementById("countRule"); let temp = txt.value; txt.focus(); let pointIndex = txt.selectionStart; let str1 = temp.substr(0,pointIndex); let str2 = temp.substr(pointIndex, 阅读全文
posted @ 2019-09-05 17:50 惠鹏曦 阅读(1006) 评论(0) 推荐(0) 编辑