$('.chk').click(function () { //etc});I thought of that, but wouldn't that do the same thing to ALL the checkboxes on the form?
>>td> >> input type="checkbox" name="py_PY_AHYS_NIE<<ch>>" id="AHYSChk<<ch>>" <<IIF(llPY_AHYS_NIE, [ CHECKED], [])>> >AHYS >> input type="checkbox" name="py_PY_AHYL<<ch>>" id="AHYLChk<<ch>>" <<IIF(llPY_AHYL, [ CHECKED], [])>> >AHYL >>/td> >>td> >>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> >>div id = "YLElig<<ch>>" style="display:none"> >> input type="radio" name="py_YLElig_Type<<ch>>" id="YLElig1<<ch>>" value="SP" <<iif(lnPY_YLEligType=1,"checked","")>>/><b>AHYL SUB+Spouse</b> >> input type="radio" name="py_YLElig_Type<<ch>>" id="YLElig2<<ch>>" value="SUB" <<iif(lnPY_YlEligType=2,"checked","")>>/><b>AHYL SUB Only</b> >>/div> >>>>
>> >> <!-- jQuery Script to hide/show radio buttons --> >> <script type="text/JavaScript" Language = "JavaScript"> >> >> $("#AHYSChk<<ch>>").click(function() >> { >> if $('#AHYSChk<<ch>>').is(':checked') >> >> { $('#YSElig<<ch>>').show(); >> } >> else >> { $('#YSElig<<ch>>').hide(); >> } >> } >> >>>>
if ($'#AHYSChk01').is(':checked'))>>>>