...

View Full Version : checkbox value?



nikko50
12-13-2007, 08:07 PM
Hi there. If I disable a checkboc but have the default status to CHECKED. How can I show that the value is set to ON? It seems if the checkbox is disabled I can't get the status of it. Am I doing something wrong?

<input type="checkbox" checked DISABLED name="adjust" >

JordanW
12-13-2007, 08:22 PM
<form name="form">
<input type="checkbox" checked DISABLED name="adjust">
<input type="button" value="Check" onClick="alert(document.form.adjust.value);">
</form>


This works fine for me! If you're still encountering a problem. It may be a javascript issue, therefore give up a snippet of the javascript that you using to check the value of the checkbox!


~Jordan



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum