0
onclick 이벤트를 수행하는 경우이 데모와 같은 standart jQuery 함수로 라디오 버튼을 활성화하려고합니다.jQuery 라디오 버튼 그룹에서 라디오 버튼을 활성화하는 방법
http://jqueryui.com/button/#radio
나는 그러나 클릭에, 내가 호출되는 함수에서이 작업을 수행 싶지 온 클릭 않는 동일한 작업을 수행 싶어요.
이를 시도하지만 잘 작동하지 않습니다 :
function checkradio() {
$("#labelRADIOVU").button("enable");
$('#RADIOVU').prop('checked', true);
//alert($("input[name='']:checked").val())
document.getElementById("labelRADIOVU").style.color = "white";
document.getElementById("labelRADIOVU").style.backgroundColor = "red";
//document.getElementById("RADIOVU").checked = true;
};
덕분에 많이 그것이 작동하는 방식은 이잖아! !! !! 때로는 모든 것을 알기 위해 그물을 사용하지 못합니다. 대안을 알기에 충분합니다 .-) –