<input type="checkbox" checked=true/> $('input').prop('checked'); // returns true $('input').attr('checked'); // returns "checked"
1 2 3 4