JS在光标处插入内容
摘要:
$.fn.insertText = function (text) { var obj = $(this)[0]; var range, node; if (!obj.hasfocus) { obj.focus(); } if (document.selection && document.sele 阅读全文
posted @ 2019-10-28 15:31 唠叨的意志 阅读(1093) 评论(0) 推荐(0) 编辑
posted @ 2019-10-28 15:31 唠叨的意志 阅读(1093) 评论(0) 推荐(0) 编辑