scrollTop, scrollHeight, clientHeightをjQueryで求める方法です。
$(document).ready(function() {
let element = $('#myDiv'); // 対象の要素
let scrollTop = element.scrollTop();
let scrollHeight = element[0].scrollHeight;
let clientHeight = element[0].clientHeight;
console.log('Scroll Top:', scrollTop);
console.log('Scroll Height:', scrollHeight);
console.log('Client Height:', clientHeight);
});