0
내 시나리오에는 두 개의 라디오 버튼 목록 (asp.net 서버 컨트롤)이 있습니다. 첫 라디오 버튼 목록에서 항목을 선택하면 두 번째 라디오 버튼 목록에있는 두 항목이 표시되지 않아야합니다.jquery를 사용하는 다른 라디오 버튼 목록의 항목 선택에 따라 라디오 버튼 목록 항목을 숨기기
내 시나리오에는 두 개의 라디오 버튼 목록 (asp.net 서버 컨트롤)이 있습니다. 첫 라디오 버튼 목록에서 항목을 선택하면 두 번째 라디오 버튼 목록에있는 두 항목이 표시되지 않아야합니다.jquery를 사용하는 다른 라디오 버튼 목록의 항목 선택에 따라 라디오 버튼 목록 항목을 숨기기
$("#<%# firstRadioBtnList.ClientID %> input[type=radio]").click(function(){
var secondRadios = $("#<%# secondRadioBtnList.ClientID input[type=radio]");
// now select which radio buttons you need to hide (from the secondRadios)
// say those are 'radiosToBeHid'
radiosToBeHid.closest('td').css('display','none');
});
일부 html/asp 코드 발췌본을 표시하면 더 좋을 것입니다 ... – mshsayem