fnClick function with datatables
===

I'm still trying to figure out the fnClick function to work with my datatables page so that when the delete button is clicked it'll create an array of the seletected checkboxes and send those ID's to my server script so I can delete them from the datatabase and then redraw or remove the rows of the table.

    $( '#titles-table' ).dataTable({
        "sDom": '<"top"lTf<"clear">>rt<"actions"<"actions-left"i><"actions-right"p>>',
        "bAutoWidth": false,
        "sPaginationType" : "full_numbers",
        "oTableTools": {
			"aButtons": [
                {
                    "sExtends":    "text",
                    "sButtonText": "Add"
                },
                {
                    "sExtends":    "text",
                    "sButtonText": "Edit"
                },
                {
                    "sExtends":    "text",
                    "sButtonText": "Delete",
                    "sButtonClass": "delete",
                    "sAjaxSource" : "/path/to/function",
                    "fnServerParams": function (aoData) {
                        aoData.Push(ArrayWithCheckboxInfo);
                    },
                    "fnClick": function ( nButton, oConfig, oFlash ) {
                        alert( 'Mouse click' );
                    }
                },
            ]
		},
        "aoColumnDefs": [
            { "bSortable": false, "aTargets": [ 0 ] },
            { "sWidth": "20px", "aTargets": [ 0 ] },
            { "sWidth": "40px", "aTargets": [ 1 ] },
            { "sClass": "alignCenter", "aTargets": [ 1 ] }
        ]
    });

Table: 

    <h2 class="grid_12">Titles</h2>
    <div class="clear"></div>
    <div class="grid_12">
    <div class="box">
        <div class="header">
            <?php echo img('assets/peach/img/icons/packs/fugue/16x16/shadeless/trophy.png'); ?>
            <?php echo heading('Titles', 3); ?>
            <span></span>
        </div>
        <div class="content">
            <?php            
            $tmpl = array ( 'table_open'  => '<table class="table" id="titles-table">' );
            $data = array('name' => 'titles', 'class' => 'selectall');
            $this->table->set_heading(form_checkbox($data), 'ID', 'Title Name', 'Style', 'Status');            
            $this->table->set_template($tmpl);             
            foreach ($titles as $row)
            {
                $checkbox_data = array(
                    'name'        => 'titles',
                    'id'          => $row->id
                );
                $this->table->add_row(form_checkbox($checkbox_data), $row->id, $row->title_name, $row->type_name, $row->status_name);
            }
            echo $this->table->generate(); 
            ?>
        </div>
        <div class="clear"></div>
    </div>
    </div>