<input type="radio" name="group2" test="one" value="Water"> Water
<input type="radio" name="group2" test="two" value="Beer"> Beer<br>
<div style="display: none" test="one">aaaaaaa</div>
<div style="display: none" test="two">bbbbbbb</div>
<div style="display: none" test="one">ccccccc</div>
我想:如果我點擊無線電水屬性測試=「一」然後應該顯示我所有的屬性測試=「一」的股利。我怎樣才能使它與jQuery?帶屬性的顯示元素
LIVE:http://jsfiddle.net/hRCXV/
+1使得它適用於所有 – 2012-02-23 14:19:43