i想从两个部门中选择单选按钮... 即每个部门的单个单选按钮... 如何做到这一点...我只使用一次表格 我想这样做,因为我想要每个部门的一个值.. 或你如何建议解决方案 只需更改名称属性值。 < div id = testhere > < 输入 type = radio name = ahahah / > < div > aaaaaa < / div > < input type = radio 名称 = ahahah / > < div > bbbbbb < / div > < input 类型 = radio 名称 = ahahah / > < div > cccccc < / div > < 输入 类型 = radio 名称 = ahahah / > < div > dddddd < / div > < input 类型 = radio name = ahahah / > ; < div > eeeeee < / div > < 输入 type = radio 名称 = ahahah / > < div > ffffff < / div > ; < / div > < div id = testhere1 > < 输入 type = radio name = bhbhbh / > < div > gggggg < / div > < 输入 type = radio name = bhbhbh / > < div > hhhhhh < / div > < input type = radio name = bhbhbh / > < div > iiiiii < / div > < 输入 type = radio 名称 = bhbhbh / > < ; div > jjjjjj < / div > < ; 输入 type = radio name = bhbhbh / > < div > kkkkkk < / div > < input 类型 = radio 名称 = bhbhbh / > < div > llllll < / div > < / div > Hii have radio button like<div id="testhere"> <input type="radio" name="ahahah" /><div>aaaaaa</div> <input type="radio" name="ahahah" /><div>bbbbbb</div> <input type="radio" name="ahahah" /><div>cccccc</div> <input type="radio" name="ahahah" /><div>dddddd</div> <input type="radio" name="ahahah" /><div>eeeeee</div> <input type="radio" name="ahahah" /><div>ffffff</div></div><div id="testhere1"> <input type="radio" name="ahahah" /><div>gggggg</div> <input type="radio" name="ahahah" /><div>hhhhhh</div> <input type="radio" name="ahahah" /><div>iiiiii</div> <input type="radio" name="ahahah" /><div>jjjjjj</div> <input type="radio" name="ahahah" /><div>kkkkkk</div> <input type="radio" name="ahahah" /><div>llllll</div></div>i want to select radio button from both division ...i.e. single radio button from each division...how to do that..also i use form only onceI want to do this , because i want one value from each division..or how u can suggest 解决方案 Just change the name attribute value.<div id="testhere"> <input type="radio" name="ahahah" /><div>aaaaaa</div> <input type="radio" name="ahahah" /><div>bbbbbb</div> <input type="radio" name="ahahah" /><div>cccccc</div> <input type="radio" name="ahahah" /><div>dddddd</div> <input type="radio" name="ahahah" /><div>eeeeee</div> <input type="radio" name="ahahah" /><div>ffffff</div></div><div id="testhere1"> <input type="radio" name="bhbhbh" /><div>gggggg</div> <input type="radio" name="bhbhbh" /><div>hhhhhh</div> <input type="radio" name="bhbhbh" /><div>iiiiii</div> <input type="radio" name="bhbhbh" /><div>jjjjjj</div> <input type="radio" name="bhbhbh" /><div>kkkkkk</div> <input type="radio" name="bhbhbh" /><div>llllll</div></div> 这篇关于从两个部门中选择两个单选按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-02 18:14