javascript - How to set a radiobutton active in jQuery radiobutton group -
i trying set radiobutton active standart jquery function in demo if onclick event.
http://jqueryui.com/button/#radio
i wanna same onclick not on click, wanna in function called.
tried not working right:
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; };
Comments
Post a Comment