2009-08-12 72 views
5

我有2個單選按鈕,但無論是單選按鈕,可以選擇的形式,單選按鈕既可以選擇

 <form class="descriptions" id="collection" method="post" action=""> 
          <table width="200"> 
           <tr> 
           <td> 
            <label>Collection</label> 
            <input type="radio" value="collection" /> 
           </td> 
           <td> 
            <label>Delivery</label> 
            <input type="radio" value="delivery" /> 
           </td> 
          </tr> 
         </table> 

       </form> 

我知道這是很容易的,但我似乎無法找到回答, 任何幫助,將不勝感激。

回答

19

給他們相同的名字。

+0

謝謝,它的工作原理。 – amir 2009-08-12 09:25:37