var o=txtRemark.createTextRange(); o.move("character",0); o.select(); 转载于:https://www.cnblogs.com/brightsky/archive/2010/09/30/1839479.html