Mega Code Archive
Categories
/
JavaScript Tutorial
/
Document
Document getSelection()
The getSelection() method returns the text that is selected within the HTML document.