正確的方法是正確運用Selection物件和Range物件,實現在游標當前位置插入文字或結點。 ... startContainer; // 獲得Range起點的位移var pos = range.
確定! 回上一頁