Well.. I had an idea while I was trying to fall asleep last night...
Anyway.. I don't know much about javascrpit,
but I was wondering if there was anyway that
I could tell what text is highlighted on the screen.
For instance, lets say after I make this post.
I highlight all the text from the post on the screen.
Then I click a button... like .. [quote] or something.
Can javascript tell what text I have highlighted?
javascrpit
Moderator: General Moderators
-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC
-
penguinboy
- Forum Contributor
- Posts: 171
- Joined: Thu Nov 07, 2002 11:25 am