caretRangeFromPoint (x,y). source · Ben. You can use element.nodeName to see if it's a text node, and then element.nodeValue for its value.
確定! 回上一頁