I want to be able to change an image (actually doing an alert here) when I click on a checkbox with jQuery. Here is my code:
$("input:checkbox[name=who_visible]")[1].click(function() {
alert("test");
});
Here is my input:
<input type="checkbox" name="who_visible" value="1" class="btn_radio_note">
What's wrong?