Hi every one I am need of help. I currently have a checkbox as part of my page that is used to pass information. I want to change it into a button or when the button is clicked the check box is selected and grayed out and cant be deselected.

Can anyone point me in a direction that would help me do what I want.


You have to write javascript on the buttons click event to set the checkbox. As well as this the checkbox should be disabled like this
<input type="checkbox" id="yourname" name="yourname" value="1" disabled />