By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,568 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,568 IT Pros & Developers. It's quick & easy.

HTML event for when text is selected in table cell

P: n/a
Hi,

Does anyone know if there is an event that gets fired off when I select
text in a cell of a table in HTML????

I know theres a onselect event but that does not work.

I need this so I can run a JavaScript function.

Regards
Simon

Oct 7 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a

si********@hotmail.com wrote:
Does anyone know if there is an event that gets fired off when I select
text in a cell of a table in HTML????


IE has onselectstart
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events/onselectstart.asp>
--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 7 '05 #2

P: n/a
Is there an event for when the text is unselected??

Oct 7 '05 #3

P: n/a
si********@hotmail.com wrote:
Is there an event for when the text is unselected??


It is proper Usenet etiquette to include the text you are replying to.
To do this using Google groups, please follow the instructions below,
penned by Keith Thompson:

If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Oct 7 '05 #4

P: n/a

si********@hotmail.com wrote:
Is there an event for when the text is unselected??


In IE 5.5 and later there is the document wide
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events/onselectionchange.asp>
to handle any kind of change to the selection.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 7 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.