0
我有两个单选按钮。一个在另一个下面。我希望下面的一个显示在第一个选中按钮的下方,并保持在第一个宽度的范围内并以动态的方式。 感谢您的帮助。根据另一个显示jQuery UI单选按钮
<script>
$(function() {
$("#categorie").buttonset();
$("#types").buttonset();
});
</script>
</head>
<body>
<form>
<div id="categorie">
<input type="radio" id="categorie1" name="categorie" checked="checked"/><label for="categorie1">bla</label>
<input type="radio" id="categorie2" name="categorie" /><label for="categorie2">bla</label>
<input type="radio" id="categorie3" name="categorie" /><label for="categorie3">bla</label>
</div>
<div id="types">
<input type="radio" id="type1" name="type" checked="checked"/><label for="type1">bla</label>
<input type="radio" id="type2" name="type" /><label for="type2">bla</label>
<input type="radio" id="type3" name="type" /><label for="type3">bla</label>
</div>