567Chapter 18The Document and Body Objectsdocument.onmouseup (Web hosting resellers) = showSelection;
Wednesday, September 26th, 2007567Chapter 18The Document and Body Objectsdocument.onmouseup = showSelection;
Getting Selected Text
Select some text and see how JavaScript can capture the selection:
ARTICLE I
Congress shall make no law respecting an establishment of religion, orprohibiting the free exercise thereof; or abridging the freedom ofspeech, or of the press; or the right of the people peaceably toassemble, and to petition the government for a redress of grievances.