我在Sharepoint中有这个单选按钮列表:
<input type="radio" name="fruit" value="apple"/> Apple<br/>
<input type="radio" name="fruit" value="pear"/> Pear<br/>
<input type="radio" name="fruit" value="orange"/> Orange<br/>
<input type="radio" name="fruit" value="cherry"/> Cherry<br/>
由于它们都具有相同的名称,因此当我检查一个单选按钮时,其他按钮应该取消选中。但在Sharepoint他们不会。
我该怎么办?
如果您的答案涉及JavaScript,那就没问题。