Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我按下我的一个单选按钮时,我希望每个其他单选按钮都<form>具有相同的值来改变。我不能让它工作,我做了一个 js fiddle 让你检查http://jsfiddle.net/Wpw9u/2/
<form>
请帮忙!
我现在找到了解决问题的方法:
I just had to change .prop("selected", true) to .prop("checked", true);