title: How to know if some content is in visible area of a div which has a scrollbar? jQuery
body: <p>I have a table with rows. The table is in a div. The table has a bigger height than the div and therefore the div has a vertical scrollbar and some rows of the table are in the invisible area of the div. All good.</p>
  
  <p>Then through JavaScript I am searching for some text which tells me which row it is in. If that row is not visible, I want to  scroll the div to show that row.</p>
  
  <p>How can I determine if that row is in the visible or hidden portion of the div? I can probably get it from doing height calculations but was wondering if there's a simpler method.</p>