Created
September 8, 2015 17:32
-
-
Save EminenceHC/ca5657d28b10f71a2e2b to your computer and use it in GitHub Desktop.
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
$(".desc-trigger").each(function() { | |
if ($(this).val == "1"){$(this).closest('.parent').find('.desc').show();} | |
else {$(this).closest('.parent').find('.desc').hide();} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment