[jQuery] Getting a checkbox value
[jQuery] Getting a checkbox value
Hi, how do I get the value of a checkbox? If i use this code I get for
both checked and unchecked 1 as a result.
$('#edit-use-background-image').change(function() {
alert($(this).val());
});
Topic Participants
fliphannes
josh
erik.beeson
rgqld