asked on May 25, 2021 Show version history

I am looking at the HTML of a forms table object. I see that it contains one tr beneath the tbody.

This means the following should return an array size of 1.

  $('.invoiceTable tbody tr')

However jquery finds 3 tr elements in the HTML that I do not see.

The size of the array is 3. If I run a .each method on this object, I will be working with 3 elements instead of the expected 1.

Why can't I see these three tr elements using the inspector?

How do I pick an element, like tbody, and perform a manual search within it for the characters <tr> using the inspector?

0 0