Javascript To Get The Selected Text In Text Box

RegisterLogin
Javascript To Get The Selected Text In Text Box
Post Description: Javascript To Get The Selected Text In Text Box
Tags: Javascript, To, Get, The, Selected, Text, In, Text, Box
This Post Was Posted On Aug 05, 2009 By connor #1451
ok, check this out, lets say i have a box in html, and i want to have a user select all the content within a textarea box that i created using html or even a text box, how can i copy and paste it automatically without the user having to hit control-x to copy and control-v to paste, i want to so it all in one step
Leave Your Comments
webune
#1873 1
think i know what you want to do.

i sent you a sample code in html so you can try it for yourself,

let me know if you have problems with it ok
Aug 05, 2009 Reply Report abuse
©2011 Webune Forums - Tue Dec 20, 2011 4:24 am
Powered by: Webune Forums V3