Question: I need to attach a function to a checkbox so that clicking it does nothing. How is this possible? I don't want it to be greyed out, I just want to stop it from being togglable.

Answer: 
Try something like this:

```
<input type="checkbox" onClick="this.checked=!this.checked" />

```
I am not sure if this is exactly what you want but this disables the checkbox using JQuery.

```
$('#checkboxId').attr('disabled', true);

```

For a non-grey out [solution](http://jsfiddle.net/nKwRj/): 

```
$("input:checkbox").click(function() { return false; });

```