So console log should log 'grape' . Conclusion. There are several ways to get the checked value of a radio button with JavaScript.
確定! 回上一頁