getSelection (); console.log(selection); 通過上面的程式碼在控制檯檢視; ... 下面使用一個demo來理解下該方法的含義,頁面上有一個div,div裡面有 ...
確定! 回上一頁