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

IE: preventing text selection

P: n/a

Hi,
Does anyone know a way to prevent IE from selecting text when a user
clicks the text while holding shift/ctrl key?

--
Rudy
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a


Rafal Rutkowski wrote:
Does anyone know a way to prevent IE from selecting text when a user
clicks the text while holding shift/ctrl key?


<div onselectstart="return false;">

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

P: n/a
On Thu, 06 Nov 2003 13:01:58 +0100, Martin Honnen <ma*******@yahoo.de> wrote:


Rafal Rutkowski wrote:
Does anyone know a way to prevent IE from selecting text when a user
clicks the text while holding shift/ctrl key?


<div onselectstart="return false;">

This is it. Thanks

--
Rudy
Jul 20 '05 #3

P: n/a
In article <sl*********************@mion.elka.pw.edu.pl>,
rr******@mion.elka.pw.edu.pl enlightened us with...
On Thu, 06 Nov 2003 13:01:58 +0100, Martin Honnen <ma*******@yahoo.de> wrote:


Rafal Rutkowski wrote:
Does anyone know a way to prevent IE from selecting text when a user
clicks the text while holding shift/ctrl key?


<div onselectstart="return false;">

This is it. Thanks

All a user has to do to get around this is either turn off script or
view the source and copy/paste from that.

-------------------------------------------------
~kaeli~
Jesus saves, Allah protects, and Cthulhu
thinks you'd make a nice sandwich.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.