2009-08-12 74 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