I am using this and this is working absolutely fine:
if($("#checkkBoxId").attr("checked"))
{
? alert("Checked");
}
else
{
: alert("Unchecked");
}
Note: If the checkbox is checked it will return true otherwise undefined, so better check for the "TRUE" value.