- 博客(1)
- 收藏
- 关注
原创 JS在TextArea光标位置插入文字+移动光标到文字末尾
Js代码 function insertText(obj,str) { if (document.selection) { var sel = document.selection.createRange(); sel.text = str; } else if (typeof
2014-08-22 14:59:13
420
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人