을 감사를 추가하지 않았다.
$('input:radio[name=<name of your radio buttons>]:checked').attr("value");
을 다음 당신이
$('input:radio[name=<name of your radio buttons>]').each(
$(this).change(function()
{
$('#<id of text box u want to update>').val($('#<id of text box u want to
update>').val()+$(this).attr("value"));
//your ajax code goes here: $.ajax(url,itemValue:$(this).attr("value")),success:success...
})
)
참고를 다음과 같이 뭔가를 할 필요가 페이지로드에있는 라디오 버튼에 이벤트를 바인딩 할 경우 같은 값을 선택하는 방법은 다음과 같습니다 나 ' 값이 텍스트 상자에 저장된다고 가정하면 다른 종류의 요소를 가질 수 있습니다.
음 서버에서 코드를 업데이트하려는 경우 해당 기능 내에서 서버 측 처리기로 ajax 요청을 보내서 처리해야합니다. http://api.jquery.com/jQuery.ajax/
희망