| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/modip/survey/admin/scripts/ |
Upload File : |
// $Id: listsurvey.js 9648 2011-01-07 13:06:39Z c_schmitz $
$.tablesorter.addParser({
// set a unique id
id: 'mydate',
is: function(s) {
// return false so this parser is not auto detected
return false;
},
format: function(s) {
// format your data for normalization
return $.datepicker.formatDate( '@', $.datepicker.parseDate(userdateformat,s));
},
// set type, either numeric or text
type: 'numeric'
});
$(document).ready(function(){
$(".listsurveys").tablesorter({ widgets: ['zebra'],
sortList: [[2,0]],
headers: {3:{sorter:'mydate'},
7:{sorter:'digit'}, // Full responses
8:{sorter:'digit'}, // Partial Responses
9:{sorter:'digit'} // Total Responses
}
});
$(".listsurveys tr:eq(1) th:eq(2)").css('min-width','200px');
});