I'm new to using jquery but in my crazy mind this is possible. The following code detects if a checkbox is changed. What I want to do is get the id of the checkbox that is clicked. Is that doable.

This is what I have so far.

Code:
$(document).ready(function(){
    $(":checkbox").change(function(){
		if($(this).attr("checked"))
		{
				//call the function to be fired
				//when your box changes from
				//unchecked to checked
				//alert("checked");
				
				if($(this) == $("#checkbox3_0"))
				{
					alert("Success");
				}
				else
					alert("checked");
		}
		else
		{
				//call the function to be fired
				//when your box changes from
				//checked to unchecked
			//alert("unchecked");
		}
    });
});