This is the demo page of Selecting text in html elements with Jquery
Click on any area inside the box to highlight all of my text.