1、创建一个名称为 radio_type 的html文件
2、添加一个input元素 设置input类型为Radio设置id为 my_radio_id_type
3、添加一个button按钮,在点击事件中加入自定义函数my娄多骋能_radio_type添加一p标签,设置id 为 show_radio_type
4、在javascript中创建一个自定义函数 my_radio_type
5、在自定义函数中获取input Radio对象。用 type属性获取表单单选框的类型,将获取的结果添加到p标签中显示
6、在浏览器中打开文件,点击button查看获取单选框类型的效果