给定下一个 HTML 块:
<div class"radioGroup">
<input type="radio" value="0">
This is NOT checked
<input type="radio" value="1" checked = "checked" >
This is checked
<input type="radio" value="2">
This is NOT checked
</div>
如何选择所选单选按钮后面的文本?(例如“已检查”)。
(我不能在字符串中添加标签或类似的东西,我正在尝试从另一个网页中获取此文本,所以我只能使用客户端脚本)