user2744722 user2744722 - 1 year ago 139
Javascript Question

reset bootstrap radio button

this has got to be a duplicate question but I can't find the answer. how do you reset the bootstrap radio buttons?

according to the documentation it is reset but it doesn't see to do anything I also tried using jquery to change it but nothing.

$("#option1").prop('checked', true);

here is the fiddle. I am clicking on a different button then hit the reset button hoping it will reset but it does not.

Answer Source

You can just perform a click on #option1.


Here's the updated fiddle.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download