How to merge these two function to one

How to merge these two function to one

cyclope80cyclope80 Posts: 1Questions: 0Answers: 0
edited August 2011 in DataTables 1.8
Hi, I want to use these two function...
[code]
$(document).ready(function() {
$('#example').dataTable( {
"fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
/*
* Calculate the total market share for all browsers in this table (ie inc. outside
* the pagination)
*/
var iTotalMarket = 0;
for ( var i=0 ; i

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    [code]
    $(document).ready(function() {
    $('#example').dataTable( {
    "fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) {
    /*
    * Calculate the total market share for all browsers in this table (ie inc. outside
    * the pagination)
    */
    var iTotalMarket = 0;
    for ( var i=0 ; i
This discussion has been closed.