A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Joined: Jun 15, 2005
Dec 18, 2005 14:19:00
Is there a way do disable switching te checkbox on/of and making it grey.
I want to create a grey checked checkbox.
When I use "disabled" in the input tag it doesn't submit the value of the checkbox.
Joined: Dec 27, 2002
Dec 18, 2005 18:16:00
Any html field that is disabled will not be submitted. If you want to display a disabled checkbox _and_ have the value submitted, you'll have use a hidden variable to carry the value.
Where Photography meets vision.<br /><a href="http://www.photogravision.com" target="_blank" rel="nofollow">http://www.photogravision.com</a><br />Please stop by!<br /> <br />SCJP,SCWCD,SCJD,SCEA
I agree. Here's the link:
subject: Readonly Checkbox
problem with unchecking checkbox
background color for a JCheckbox
Honda Civic colours
Checkbox color change on disable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015