I need to expand a div that has overflow set to hidden via css. When clicking on «expand» the hight of the div is expanded to the hight necessary to display the whole text. To a
your code does not cover DOM changes. Use the following:
$( ".aufklappen" ).on("click", function() { ... });