<!DOCTYPE html>charset="utf-8"编程狮(w3cschool.cn)function checkme()for each ob in radio1if ob.checked then window.alert ob.valuenextend functionname="radio1" type="radio"value="style" checkedStyle.name="radio1" type="radio"value="barcode"Barcodetype="button" value="check"nclick="checkme()"