Set sur toutes les méthodes

This commit is contained in:
Michael RICOIS 2011-12-14 15:14:50 +00:00
parent eb366feca2
commit aa33f2dd7f

View File

@ -10,21 +10,21 @@ $(document).ready(function(){
$('#tabs').delegate('input[type=checkbox].criteres', 'click', function(e){
e.preventDefault();
e.stopPropagation();
set($(this).attr('name'), $(this, ':selected').val());
set($(this).attr('name'), $(this).val());
return false;
});
$('#tabs').delegate('input[type=radio].criteres', 'click', function(e){
e.preventDefault();
e.stopPropagation();
set($(this).attr('name'), $(this, ':selected').val());
set($(this).attr('name'), $(this).val());
return false;
});
$('#tabs').delegate('input[type=text].criteres', 'blur', function(e){
e.preventDefault();
e.stopPropagation();
set($(this).attr('name'), $(this, ':selected').val());
set($(this).attr('name'), $(this).val());
return false;
});