引导单选按钮在firefox中无法正常工作
我最近开始使用bootstrap创建网站的前端。我最初是用chrome开发的。我最近开始在firefox上测试,遇到了一个问题。我在头版有几个单选按钮。当我点击一个我想要的,它看起来好像只是选择了第一个,而不是我点击的那个。如果我快速单击几次,它会正确地进行选择。知道为什么会这样吗?代码如下:引导单选按钮在firefox中无法正常工作,firefox,twitter-bootstrap,Firefox,Twitter Bootstrap,我最近开始使用bootstrap创建网站的前端。我最初是用chrome开发的。我最近开始在firefox上测试,遇到了一个问题。我在头版有几个单选按钮。当我点击一个我想要的,它看起来好像只是选择了第一个,而不是我点击的那个。如果我快速单击几次,它会正确地进行选择。知道为什么会这样吗?代码如下: <form action="redirector.php" action="get"> <fieldset> <table b
<form action="redirector.php" action="get">
<fieldset>
<table border="1">
<tr>
<td valign="top"><b>Please select a genome:</b><br>
<label class="radio">
<input type="radio" name ="genome" value="Acral2">Acremonium Alcalophilum<br><input type="radio" name ="genome" value="Aspni3">Aspergillus niger<br><input type="radio" name ="genome" value="Glotr1_1">Gloeophyllum trabeum<br><input type="radio" name ="genome" value="Phchr1">Phanerochaete chrysosporium<br><input type="radio" name ="genome" value="PleosPC15_2">Pleurotus ostreatus<br><input type="radio" name ="genome" value="Spoth2">Sporotrichum Thermophile<br><input type="radio" name ="genome" value="Thite2">Thielavia terrestris<br> </label>
</td>
<td valign="top">
<b>View proteins with JGI annotation of type:</b><br>
<label class="radio">
<input type="radio" name ="jgiAnnotation" value=sigPInformationView>SignalP Information<br>
<input type="radio" name ="jgiAnnotation" value=ecInformationView>EC and Pathway Information<br>
<input type="radio" name ="jgiAnnotation" value=domainInformationView>Domain Information<br>
<input type="radio" name ="jgiAnnotation" value=goInformationView>Go Information<br>
</label>
<button type="submit" class="btn">Submit</button>
</fieldset>
</form>
</td>
<td valign="top">
<form action="annotationInfoView.php" action="get">
<fieldset>
<b>View single protein:</b><br>
Enter our ID number:<input type="text" name ="ourId"><br>
(i.e. jgi_Spoth2_2293939)<br>
<button type="submit" class="btn">Submit</button>
</fieldset>
</form>
</td>
</tr>
</table>
请选择一个基因组:
嗜碱顶孢菌
黑曲霉
小玻璃球菌
黄孢原毛平革菌
平菇
嗜热孢子丝菌
土苔藓
查看JGI注释类型为:
信号P信息
EC和路径信息
域信息
Go信息
提交
查看单个蛋白质:
输入我们的身份证号码:
(即jgi_Spoth2_2293939)
提交
问题是在一个标签内有多个单选按钮 如果我快速单击几次,它会正确地进行选择 这可能是因为您直接单击了单选按钮,而不是单选按钮旁边的文本。这就是所有浏览器的行为方式,包括Chrome
查看的“复选框和收音机”部分,了解一个工作示例。问题在于,在一个标签内有多个单选按钮 如果我快速单击几次,它会正确地进行选择 这可能是因为您直接单击了单选按钮,而不是单选按钮旁边的文本。这就是所有浏览器的行为方式,包括Chrome 查看的“复选框和收音机”部分以了解工作示例