★ wanayoo — archive 1999 http://javascript.internet.com/page-details/highlighted-text.htmlNouvelle recherche | Portail wanayoo

Webopedia


Home } Page Details } Highlighted Text



Captures any text that has been highlighted with the cursor. In Internet Explorer, it even grabs text highlighted within a text box or textarea. Sweet!
Highlight any text on the page and JavaScript will 'capture'
it in the textbox below. Internet Explorer also allows for
the capture of text highlighted within a textbox or textarea:
Here's two to try out:

or

Selected text:

The JavaScript Source: Page Details: Highlighted Text

Simply click inside the window below, use your cursor to hilight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!
When you're ready to play with the big boys

Sign up for the JavaScript Source's Newsletters!
Site Updates!
Monthly Digest
Your Email:
internet.com Privacy Policy


We'll send this script to you!

(just click "Send it!" once!)

[ Contact Us! ]
[ JavaScript Forum ]
[ Submit Your Script! ]

The JavaScript Source

Copyright 2000 Internet.com Corp.
All Rights Reserved. Legal Notices

Privacy Policy
Advertising Information