Re: How to keep static text from being selected
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: How to keep static text from being selected

From: ASM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid>
Date: Tue Aug 16 2005 - 16:32:39 CEST

jonathon wrote:
> I have a table of line-style entries, much like webmail. When the user
> double-clicks on a line, a box pops up to enter the data for that
> entry.

a prompt I presume ?

> The problem is, whatever word they clicked on in the table is still
> selected, as if to be copied or cut. It just looks ugly.

selection = '';
in end of prompt function for instance ?

> I've seen some IE-only solutions, but none for FF.

on my idea : yes any JS clipboard copy with respectuous browsers

Only M$ allows external users (here the Webmaster)
to play with computer system (clipboard)

would have to read about hackers with this hole in secutity

-- 
Stephane Moriaux et son [moins] vieux Mac
Received on Mon Oct 24 02:14:11 2005