Javascript Function to Select Text (onclick)

Javascript Function Code to Select All Text Contained Within an Element, such as a DIV etc

Home Short:
S
H
A
R
E