Created by karim79Linked to 25.9m issues across 175 teams
jQuery has a builtin is() function that can check if an element is checked or not:
if($("#isAgeSelected").is(':checked')) $("#txtAge").show(); // checked else $("#txtAge").hide(); // unchecked