input:checked ?

input:checked ?

hi =) i have a new problem i have searched at the doku and found this

http://docs.jquery.com/Selectors/checked but this doesnt help me :/

my codes:

$.post("takeedit1.php",{
                visible:$("#visible").val(),
         banned:$("#banned").val() },


html:
<input type="checkbox" name="visible" id="visible" value="1" />
<input type="checkbox" name="banned" id="banned" value="1" />


when i submit this form is

$_POST["visible"];
$_POST["banned"];


1 but when the box is not checked is it 1 too... is should checked = 1 unchecked = 0/or nothing


plz help me, thx