Question: I need to know when any checkbox on the page is checked:

e.g.

```
<input type="checkbox">

```

I tried this in Jquery

```
$('input type=["checkbox"]').change(function(){
alert('changed');
});

```

But it didn't work, any ideas?

Answer: 
```
$('input:checkbox').change(function(){
    if($(this).is(':checked')){
        alert('Checked');
    }
});

```

[**Here is a demo**](http://jsfiddle.net/Shef/E6RS9/)
```
$("input[type='checkbox']").click(function(){
    alert("checked"); 
});

```

Just a normal `.click` will do.