Answers for "determine scrollHeight using jquery?"

0

determine scrollHeight using jquery?

$('#leave-reason-input').keyup(function() {
        var height = $(this).scrollTop();
        var initHeight = 5;
    if(initHeight < height ) {
          $(this).css({'height':'8rem'});
    }
})
Posted by: Guest on August-19-2021

Code answers related to "determine scrollHeight using jquery?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language