摘要:
方法一:1//#region--文本框TextArea光标相关2varPos={3//IE版本号4getIEVer:function(){5varmatch=navigator.appVersion.match(/MSIE\s+\d+.0;/);6if(match==null)return-1;7return+match[0].match(/\d+/)[0];8},9getPos:function(textBox){10if(document.selection){11varrange=document.selection.createRange();12varrange_all=docume 阅读全文
posted @ 2011-06-14 10:57
三聪
阅读(1399)
评论(2)
推荐(0)
浙公网安备 33010602011771号