selectNodeContents (elm); selection.removeAllRanges(); selection.addRange(range); } } - Example. When click on the text added into a DIV, selects all its ...
確定! 回上一頁