![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveDeselecting text in input text box
From: <len.hartley@gmail.com>
Date: Mon Feb 27 2006 - 19:05:46 CET
I have a text input box and I don't want the text to be selected either
Now the function below which I found from 2002 in the archive works
I'm hoping some of you might have an alternative suggestion or insight
Code that works in IE6:
function clearSelection () {
<input type="text" name="theElt" onfocus="javascript: clearSelection()"
|