我无法在单选按钮之间切换 [英] I can't switch between radio button
问题描述
这是代码:
< input type =radioname =sexvalue =male > Male
< input type =radioname =sexvalue =female> Female
奇怪的是,当我尝试在单选按钮之间切换时,它被阻止。如果我选择男性,那么我不能更改为女性。
然后点击Survey,你会看到它。
有些帮助吗?
我重新检查并找到了我要删除的javascript src =js / jquery-1.10。 2.min.js
它会起作用,但是会如何发生?接下来我应该看看什么,以解决这个问题。
问题似乎与div 幻灯片故事类专门针对数据幻灯片属性:
< div class =slide storyid = slide-5data-slide =5>
<! - Code - >
< / div>
你可以在这里看到:单选按钮
删除幻灯片div:单选按钮工作
This is the Code:
<input type="radio" name="sex" value="male">Male
<input type="radio" name="sex" value="female">Female
The strange thing is , when I try to switch between radio button, it's being blocked. If I select Male, then I can't change to Female.
I am using bootstrap, you can see the live result here
Then click Survey, you will see it.
Some help please?
I recheck and I found if I deletet javascript src="js/jquery-1.10.2.min.js" It will work, but how would that happen? What should I look into next, to fix that bug.
The problem seems to be with the div with the class "slide story" specifically to the data-slide attribute:
<div class="slide story" id="slide-5" data-slide="5">
<!--Code -->
</div>
You can see here: Radio buttons stick
Removed slide story div: Radio buttons work
这篇关于我无法在单选按钮之间切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!