how to use serialize

how to use serialize

xhellexhelle Posts: 1Questions: 0Answers: 0
edited August 2012 in General
Hi Guys,

I'm just new in using dataTables plugin. Can you help me to solve my problem here. First I have this multiple data from database and display on dataTables. I can select multiple data using check box and hit the submit button to display in text area, but during selecting some value from 1st page of table and hit the 2nd table, and select other data. The first value from 1st page is missing, only the data from 2nd page is shown. Can somebody help me to this problem. I try to use .serialize(), but since it displaying an error "oSettings is null", I can't use it. Here's my code:
[code]
$(document).ready(function(){
var oTable3 = $('#dgridCategoryList').dataTable({
"bJQueryUI":true,
"bLengthChange": false,
"bAutoWidth": false,
"aoColumns": [
{
"bSortable" : false,
"sWidth" : '3%'
},
{
"bSortable" : true,
"sWidth" : '47%'
},
{
"bSortable" : true,
"sWidth" : '50%'
}
]
});

//dialog initiation for Category
$("#dlgCategory").dialog({
autoOpen : false,
height : 500,
width : 800,
modal : true,
resizable : false,
buttons : {
Submit: function() {
var cntCate = $("#chkCate:checked").length;
var lcCategory = ($("input[name=chkCate]:checked").map(
function () {return this.value;}).get().join("|"));
var laCategory = lcCategory.split("|");
$('#category').find('option').remove();
for(var lnCtr=0; lnCtr
This discussion has been closed.