[thelist] Dumb Question (Javascript) but still causing diffic ulties

Plunkett, Matt MPlunkett at MSA.com
Tue May 11 15:07:11 CDT 2004


Disable the checkbox.  Then no one can uncheck it.

<input type="checkbox" name="something" value="something else" checked
disabled>

or in js

formname.something[index].disabled = true;

 -----Original Message-----
From: 	Rob Smith
Sent:	Tuesday, May 11, 2004 3:38 PM
To:	Thelist (E-mail)
Subject:	[thelist] Dumb Question (Javascript) but still causing
difficulties

Hi,

I'm having a slightly stubborn problem with a particular checkbox issue:

<input type="checkbox" name="Something" value="Something else" checked
onFocus="blur()">

Ok. This checkbox is supposed to be checked initially, but at the same time,
the user cannot uncheck this checkbox. 


More information about the thelist mailing list