I have a div with css
.comment-list {
margin: 20px 0;
max-height: 100px;
min-height: 100px;
overflow-y: scroll;
width: 100%;
background-color:#000;
}
and HTML
<div class="comment-list"> </div>
if it's too high scroll y become appear and no content no scroll bar...how can determine scroll bar is present or not using Jquery
in the above link i was used the same div with and without content