|
OT - Detect selected text with JavaScript: msg#00146lang.ruby.rails.spinoffs
Hello, Does anyone know if it is possible for JavaScript to detect what text is currently selected by a user? I would like to allow the user to select some text and then grab that text using JS. I saw these guys do it : http://www.enlighter.com/ but I'm not sure if its possible to do this using JS only or if it needs a browser extension. Thanks! --Dave. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | draggable revert problem: 00146, Sunder |
|---|---|
| Next by Date: | Re: InPlaceEditor form value: 00146, Jon Tirsen |
| Previous by Thread: | draggable revert problemi: 00146, Sunder |
| Next by Thread: | RE: OT - Detect selected text with JavaScript: 00146, Bruce Collier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |