vinomarky vinomarky - 1 year ago 145
Javascript Question

How to set radio button status with JavaScript

What method would be best to use to selectively set a single or multiple radio button(s) to a desired setting with JavaScript?

Answer Source

Very simple

radiobtn = document.getElementById("theid");
radiobtn.checked = true;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download