JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<title>test</title>
</head>
<body>
<div id="radio">
<input type="radio" id="radio1" name="radio" /><label for="radio1">Choice with text 1</label>
<input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice with text 2</label>
<input type="radio" id="radio3" name="radio" /><label for="radio3">Choice with text 3</label>
</div>
<button onclick="btnTestClick()">toggle</button>
</body>
</html>
CSS
.ui-helper-hidden-accessible {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
}
#radio
{
white-space: nowrap;
width: 10em;
overflow: auto;
}
JavaScript
$(function() {
$('button').button();
$( "#radio" ).buttonset();
});
function btnTestClick()
{
$('.ui-helper-hidden-accessible').toggle();
}