function format ( d ) { return ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ '
Ente:'+d[2]+'
Riferimento:'+d[3]+'
Categoria:'+d[6]+'
'; } jQuery(document).ready(function($){ $('#paginazione').change(function(){ location.href=$(this).attr('rel')+$('#paginazione option:selected').text(); }); $('#Calendario1').datepicker({dateFormat : 'dd/mm/yy'}); $('#Calendario2').datepicker({dateFormat : 'dd/mm/yy'}); $('a.addstatdw').click(function() { jQuery.ajax({type: 'get',url: $(this).attr('rel')}); //close jQuery.ajax return true; }); $('#pp-tabs-container').tabs(); $('#fe-tabs-container').tabs(); $('#maxminfiltro').on('click',function(){ if($('#maxminfiltro').attr('class')==='s'){ $('#fe-tabs-container').hide(); $('#maxminfiltro').attr('class','h'); $('#maxminfiltro').html(' Apri Ricerca atti mediante filtri'); }else{ $('#fe-tabs-container').show(); $('#maxminfiltro').attr('class','s'); $('#maxminfiltro').html(' Chiudi Ricerca atti mediante filtri'); } }); $('a.numero-pagina').click(function(){ location.href=$(this).attr('href')+'&vf='+$('#maxminfiltro').attr('class')+'#dati'; return false; }); });