Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82132

DataTables with form elements example with Server Side Processing

$
0
0
Does anyone have an example of DataTables with form elements example with Server Side Processing.

I've tried adding the following code from the example but it only submits form elements from the page I'm on.
E.g. if I select 4 rows from page 1 and 4 rows from page 2 then only the 4 rows from the page I'm currently on will be submitted.

Any ideas?

		
$('#form').submit( function() 
{
       // var sData = oTable.$('input').serialize();
	var sData = $('input', oTable.fnGetNodes()).serialize();
		alert( "The following data would have been submitted to the server: \n\n"+sData );
	       return false;
}); 

Viewing all articles
Browse latest Browse all 82132

Trending Articles