Created
August 7, 2018 06:29
-
-
Save ItsMurumba/df3b49e7a0a484196ea1879904e62aa8 to your computer and use it in GitHub Desktop.
This code worked for me. You can replace $(this).val() with #target
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
| $('.'+ $(this).val()).show(); $('.tabcontent2 tr:not(.'+ $(this).val() +')').hide(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment