Created
January 15, 2016 04:44
-
-
Save qinshulei/42c0badf7c145ca9e08b to your computer and use it in GitHub Desktop.
filter the table row content in web page
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
| $(document).ready(function() { | |
| $("#xwikicontent tr").each(function(){ | |
| var content = $(this).text(); | |
| if (content.indexOf("8992") < 0){ | |
| $(this).css('display', 'none'); | |
| } else { | |
| $(this).css('display', ''); | |
| } | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment