> div id = "YSElig<<ch>>" style="display:none"> > input type="radio" name="py_SpElig_Type<<ch>>" value="SP" <<iif(lnPY_EligType=1,"checked","")>>/><b>AHYS SUB+Spouse</b> > input type="radio" name="py_SpElig_Type<<ch>>" value="SUB" <<iif(lnPY_EligType=2,"checked","")>>/><b>AHYS SUB Only</b> > div> >>
>>> script type="text/JavaScript" Language = "JavaScript"> >>> $('#AHYSChk01').click(function() >>> { >>> if ($'#AHYSChk01').is(:checked)) >>> { $('#YSElig01').show(); >>> } >>> else >>> { $('#YSElig01').hide(); >>> } >>> } >>> >>> /script> >>>>>>where AHYSChknn is the div id for the radiobuttons and AHYSChknn is the checkbox id
if ($'#AHYSChk01').is(':checked'))