var getSelection;. 2. if (window.getSelection) {. 3. // IE 9 and non-IE. 4. getSelection = function() {. 5. var sel = window.getSelection(), ranges = [];.
確定! 回上一頁