так получается? у чекбокса id: so1_checkbox
$(document).ready(function(){
					 
	$("so1_checkbox").click(function () {
	      if ($(this).is(':checked')) {
	        $(this).parent().parent().addClass("selected");
	      } else {
	        $(this).parent().parent().removeClass("selected");
	      }
	    });				 
});
или так?
<script>
  $(document).ready(function(){
					 
	$("input:checkbox").click(function () {
										if ($(this).is("so1_checkbox")) {
	      if ($(this).is(':checked')) {
	        $(this).parent().parent().addClass("selected");
	      } else {
	        $(this).parent().parent().removeClass("selected");
	      }}
	    });				 
});
</script>