radio 控件 提交 数值 的 问题
做一试题单选:(HTML文件)
<input type="radio", name = "1", value = "A" > A.肺
<input type="radio", name = "1", value = "B" checked=true>B.心脏
<input type="radio", name = "1", value = "C" >C.脾脏
在有默认选中的情况下,我若在HTML代码中只保留
<input type="radio", name = "1", value = "B" checked=true>
这一句进行post提交(删除value=A和C的两句,同时删除“A.肺。。”这些)
请问,这样的提交和原来三句提交时的数据是一样的吗?
<input type="radio", name = "1", value = "A" > A.肺
<input type="radio", name = "1", value = "B" checked=true>B.心脏
<input type="radio", name = "1", value = "C" >C.脾脏
在有默认选中的情况下,我若在HTML代码中只保留
<input type="radio", name = "1", value = "B" checked=true>
这一句进行post提交(删除value=A和C的两句,同时删除“A.肺。。”这些)
请问,这样的提交和原来三句提交时的数据是一样的吗?
...全文


