anchorOffset ;. 3. var text = document.getSelection().anchorNode.data;. 4. var textOffset = $("#mydiv").html().indexOf( text );.
確定! 回上一頁