选择了哪一个Radio

2024-01-05 16:47 小编

<script> 

function checkme() 

for each ob in radio1 

if ob.checked then window.alert ob.value 

next 

end function 

</script>

<body> 

<input name="radio1" type="radio"value="style" checked>Style. 

<input name="radio1" type="radio"value="barcode">Barcode 

<input type="button" value="check"nclick="checkme()"> 

</body>


在线咨询 拨打电话

电话

13363039260

微信二维码

微信二维码