📅  最后修改于: 2022-03-11 14:52:53.141000             🧑  作者: Mango
It's easier to use type='radio' with the same value at 'name' attribute.
The selected value is the value that the 'variable' input_name has.
You can parse the selected value by name. Like: document.getElementsByName('input_name')