mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
Update: Modify the form example to use the new $ API method
This commit is contained in:
parent
5088e48b80
commit
9ebabaf089
@ -16,7 +16,7 @@
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#form').submit( function() {
|
||||
var sData = $('input', oTable.fnGetNodes()).serialize();
|
||||
var sData = oTable.$('input').serialize();
|
||||
alert( "The following data would have been submitted to the server: \n\n"+sData );
|
||||
return false;
|
||||
} );
|
||||
@ -534,7 +534,7 @@
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#form').submit( function() {
|
||||
var sData = $('input', oTable.fnGetNodes()).serialize();
|
||||
var sData = oTable.$('input').serialize();
|
||||
alert( "The following data would have been submitted to the server: \n\n"+sData );
|
||||
return false;
|
||||
} );
|
||||
|
Loading…
Reference in New Issue
Block a user