Created
April 16, 2019 10:22
-
-
Save diafour/4ece0ee1157615bde5ed351e2e09a17d to your computer and use it in GitHub Desktop.
tda2000.ru highlight M positions
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
(function() { var countM = 0; var countRows = $("table.catalog-item-list tr").each(function() { var t = $(this).find("td.catalog-item-nal div.catalog-item-nal-yes span b").text(); if (t == 'М') { $(this).css('background-color','pink'); countM++; } ; if (t!='М') {$(this).css('visibility', 'collapse')} } ).length; return {'M':countM, 'All':countRows}; })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment