selected word in javascript
is it possible at all to get the position indexes after and before the selected word to开发者_如何学编程 store at new array?
Yes you can. By using the document.selection object:
http://www.webreference.com/js/column12/selectionobject.html
精彩评论