Код: Выделить всё
HTML codeКод: Выделить всё
Test 1
Content 1
Test 2
Content 2
Код: Выделить всё
jQuery codeКод: Выделить всё
$(".accordion label").on("click", function(e){
if($(this).next().attr('max-height')){
$(this.next()).removeAttr("max-height");
}
});
Подробнее здесь: https://stackoverflow.com/questions/779 ... ing-jquery
Мобильная версия