Last active
February 16, 2018 21:24
-
-
Save rtntdeck/064ef1061bf43fbd2ad1f3f51e368f01 to your computer and use it in GitHub Desktop.
Utility JS gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Find number of rows in a table with no id | |
| $('table > * > tr').length | |
| //Find number of rows in table with id myTable | |
| $('#myTable > * > tr').length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment