Difference between revisions of "Team:Pasteur Paris/Notebook"

Line 90: Line 90:
 
}
 
}
 
// auto adjust the height of
 
// auto adjust the height of
$('#containerAll').on( 'keyup', 'textarea', function (e){
+
$('#container').on( 'keyup', 'textarea', function (e){
 
     $(this).css('height', 'auto' );
 
     $(this).css('height', 'auto' );
 
       $(this).height( this.scrollHeight );
 
       $(this).height( this.scrollHeight );
 
});
 
});
$('#containerAll').find( 'textarea' ).keyup();
+
$('#container').find( 'textarea' ).keyup();
 
</script>
 
</script>
  

Revision as of 08:17, 8 September 2015

Notebook

Search for a content: