| You are here: DEVPPL ‹ Forum ‹ Programming ‹ JavaScript Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
OnClick to select all text in a cell
2 posts
• Page 1 of 1
0
OnClick to select all text in a cell
Dear ALL
How to select all text in a cell by clicking in it ?
I would like to select all text in a cell for fast copying.
Copying 1 cell at a time.
Thanks
How to select all text in a cell by clicking in it ?
I would like to select all text in a cell for fast copying.
Copying 1 cell at a time.
Thanks
- Moonlight
- Reputation: 0
- Posts: 1
- Joined: Thu Jun 16, 2011 8:31 am
- Highscores: 0
- Arcade winning challenges: 0
OnClick to select all text in a cell - Sponsored results
- Sponsored results
0
Re: OnClick to select all text in a cell
I did some googling for you but could not find a way to select any text other than in <input> or <textarea> tags. So if you put your cell text inside a <input> or <textarea>, then you can use http://webcloud.se/log/Selecting-text-with-JavaScript/ to select it for the end-user.
- Rajmv
- Reputation: 0
- Posts: 103
- Joined: Thu Jul 14, 2011 8:22 am
- Highscores: 0
- Arcade winning challenges: 0
|
|