Created
September 21, 2016 13:08
-
-
Save amici-fos/4554d81d5ae0a00062a42ef6eb5b0880 to your computer and use it in GitHub Desktop.
This file contains 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
$("input[name='options']").on("click",function(){ | |
$(".active").each(function(){ | |
$(this).removeClass("active"); | |
}); | |
$(this).parent().addClass("active"); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment