Hopefully this helps someone –
If you are trying to incorporate the jQueryUI button widget into a website project to add some style to radio buttons, and you cannot get the radio buttons to work and or cannot get them to switch properly like radios are supposed to (or possibly having trouble with other functions related to buttons), are you using bootstrap?
var btn = $.fn.button.noConflict() // reverts $.fn.button to jqueryui btn
$.fn.btn = btn // assigns bootstrap button functionality
Placing this workaround in $(document).ready reassigns the conflicting element. It seems there may be other conflicts, so before spending too much debug time on jQueryUI, try commenting out bootstrap.js.