$(document).ready(function(){

	$('.todo-item').change(function(){
		$(this).fadeOut();	
		
		$.post('ajax.cfm?call=markTodoComplete',
				{id:$(this).attr('id')}
				);	
		});
	
  });

