while working on a project (how else do these things come to mind right? :P ) I was looking for a way to check if a checkbox is checked or not.  The issue that I had was that the checkbox was ajax loaded (along with other content) so I needed to check on focus.  Here’s what I came up with (placing this inside the ajax loaded content, now yes there is other ways of doing this such as using .live() but this method is for the sake of this example):

	$('.check_box_class_name').focus(function(){
		if($(this).is(':checked')){
			//do something.
		}else{
			//do something else.
		}
	});

by doing this, it allows me to check when ever this element is focused if it’s checked or not. Now, it may not make sense to some thinking that focused elements are checked? false. an example would be clicking the check box while it’s checked (to uncheck it), by doing this you are still focusing the element (though unchecking it). So this is why I do an actual check every time I focus the element.

if you want to check if it’s checked on page load, simply do this:

	if($('.check_box_class_name').is(':checked')){
		//do something.
	}else{
		//do something else.
	}

You get the idea.