Ajout traitement intervalle

This commit is contained in:
Michael RICOIS 2011-12-14 15:48:35 +00:00
parent ba076c96f7
commit 88b18df8a5

View File

@ -24,6 +24,13 @@ $(document).ready(function(){
set($(this).attr('name'), $(this).val());
});
$('#tabs').delegate('a.interval', 'click', function(e){
e.preventDefault();
e.stopPropagation();
var key = $(this).attr('id');
var values = $('input[name='+key+'1]').val() + ',' + $('input[name='+key+'1]').val();
set(key, values);
});
});
function set(key, value)