如何所选单选框的值~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
下面这段哪错了,总是提示undefined
----------------------------------
<body>
<form name="form1" method="post" action="">
<input type="radio" name="score" value="1">
1
<input type="radio" name="score" value="2">
2
<input type="radio" name="score" value="3">
3
<input type="button" name="Submit" value="按钮" onClick="aa()">
</form>
<script>
function aa()
{
alert(document.all('score').value);
}
</script>