Pris en compte que des select simple

This commit is contained in:
Michael RICOIS 2012-05-14 07:36:27 +00:00
parent 66d8069d91
commit 41f9ce83e3

View File

@ -22,12 +22,13 @@ $(document).ready(function()
});
$("input.datepicker").datepicker({ dateFormat: 'dd/mm/yy' } );
$('#tabs').delegate('select.criteres', 'change', function(e){
var valeur = $(this, ':selected').val();
e.stopPropagation();
set($(this).attr('name'), valeur);
if ( !$(this).attr('size') ){
var valeur = $(this, ':selected').val();
set($(this).attr('name'), valeur);
}
});
$('#tabs').delegate('input[type=checkbox].criteres', 'click', function(e){