标签:
$(document).ready(function() {
    var table = $(‘#example‘).DataTable();
    $(‘button‘).click(function() {
        var data = table.$(‘input, select‘).serialize();
        alert("The following data would have been submitted to the server: \n\n" + data.substr(0, 120) + ‘...‘);
        return false;
    });
});
标签:
原文地址:http://www.cnblogs.com/chengshuiqiang/p/4604600.html