How to get checkbox values
How to get checkbox values
Table Initialization
var oTable;
$().ready(function () {
oTable = $('#storyTable').dataTable({
"bServerSide": true,
"sAjaxSource": "Story/GetStoryList",
"bProcessing": true,
"bFilter": true,
"bAutoWidth": false,
"aoColumns": [
{ "sName": "ACTIONS",
"bSearchable": false,
"bSortable": false,
"sType": "html",
"fnRender": function (oObj) {
return 'Edit Delete';
}
},
table rendered with out any issues. i want to get check box values on form submit.
function UpdateComments() {
var sData = $('input', oTable.fnGetNodes()).serialize();
alert("The following data would have been submitted to the server: \n\n" + sData);
return false;
}
i checked page source, is null. how to get checkbox values.
Any help is appreciated
Thanks,
PJ
var oTable;
$().ready(function () {
oTable = $('#storyTable').dataTable({
"bServerSide": true,
"sAjaxSource": "Story/GetStoryList",
"bProcessing": true,
"bFilter": true,
"bAutoWidth": false,
"aoColumns": [
{ "sName": "ACTIONS",
"bSearchable": false,
"bSortable": false,
"sType": "html",
"fnRender": function (oObj) {
return 'Edit Delete';
}
},
table rendered with out any issues. i want to get check box values on form submit.
function UpdateComments() {
var sData = $('input', oTable.fnGetNodes()).serialize();
alert("The following data would have been submitted to the server: \n\n" + sData);
return false;
}
i checked page source, is null. how to get checkbox values.
Any help is appreciated
Thanks,
PJ
This discussion has been closed.