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').live('change', function(){
    if($(this).is(':checked')){
        alert('checked');
    } else {
        alert('un-checked');
    }
});

```

jsfiddle: <http://jsfiddle.net/7Zg3x/1/>
Try this

```
$('input:checkbox').change(function(){
   if(this.checked)
      alert('checked');
   else
      alert('not checked');
});

```