会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
2016年9月7日
js 如何获取文本框中光标索引位置
摘要: function getTxt1CursorPosition(){ var oTxt1 = document.getElementById("txt1"); var cursurPosition=-1; if(oTxt1.selectionStart){//非IE浏览器 cursurPosition
阅读全文
posted @ 2016-09-07 18:51 MrZou
阅读(9869)
评论(1)
推荐(1)
编辑
公告