HTML Check box only for display

Hi,

I want to display a check box value checked, but I don't want the user to change it,
it should be only for display.

How can I accomplish this.?
sakthikumarAsked:
Who is Participating?
 
Ryan ChongConnect With a Mentor Commented:
something like this?
<input type="checkbox" checked="checked" disabled readonly> My checkbox

Open in new window

or use an image instead.
0
 
KimputerCommented:
Have it supported by the click function that will enable it. That way, whatever they do, it's always checked (easiest to do it is under jQuery)
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
or use an image instead.

I second this. if you need to pass along a value for the checkbox, you can just add a hidden field right under the image
0
All Courses

From novice to tech pro — start learning today.