Select all DIV text with single mouse click MDN - Window.getSelection() MDN - Selection.collapse() MSDN - Using the TextRange Object Professional JavaScript for web Developers(Book) - How practical are ranges? Ecms-262.pdf - 6th Edition / June 2015 텍스트 선택 function selectText(containerid) { // MSIE if (document.selection) { var range = document.body.createTextRange(); range.moveToElementText(docu..