Link Details

Vote early, vote often! When you help pick the links, you'll like DZone better. Login and vote now.
Link 71542 thumbnail
User 278337 avatar

By mmurph211
via matts411.com
Submitted: Mar 18 2008 / 18:40

Here is a function that when called on a particular HTML element will auto-select all of its inner text. The function works on elements such as INPUT (text), TEXTAREA, DIV, SPAN, TD, and PRE. It is also cross browser compatible.
  • 2
  • 0
  • 151
  • 26

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)