我有一個單選按鈕列表,根據mysql表中有多少個id。單選按鈕根據它的值顯示div
當收音機曾經時鐘話,就說明例如在div細節
單選按鈕
<input name="value" type="radio" value="facebook" id="facebook"/> facebook
<input name="value" type="radio" value="google_plus" id="google_plus" /> Google plus
<input name="value" type="radio" value="orkut" id="orkut" /> orkut
的div
<div id="facebook" style="display:none;">
facebook is one of the most popular social networking website
</div>
<div id="google" style="display:none;">
google plus is the new social network
</div>
<div id="orkut" style="display:none;">
Orkut is a socila networking website powered by google
</div>
時選擇電臺,我需要上顯示的div單選按鈕的值爲value=""
。 的事情是,電臺的數字和值將在MySQL數據的基礎上
有沒有任何選項可以顯示在JQuery中的div?
如果你知道幫我請
http://api.jquery.com/show/ – j08691 2012-02-03 17:29:28