Ajout de la fonction de comptage des textareas

This commit is contained in:
Damien LASSERRE 2012-01-16 13:50:30 +00:00
parent 6d4ff6fe65
commit b8a78b3b20

View File

@ -42,7 +42,7 @@ $(document).ready(function(){
},
});
$("input.datepicker").datepicker({ dateFormat: 'yymmdd' } );
$("input.datepicker").datepicker({ dateFormat: 'dd/mm/yy' } );
$( "#accordion" ).accordion({
autoHeight: false,
@ -103,6 +103,11 @@ $(document).ready(function(){
set($(this).attr('name'), $(this).val());
});
$('#tabs').delegate('textarea', 'blur', function(e){
e.stopPropagation();
set($(this).attr('name'), $(this).val());
});
$('#tabs').delegate('a.interval', 'click', function(e){
e.preventDefault();
var key = $(this).attr('id');