<h2>Index</h2> <input type="checkbox" name="test" value="值1" id="test"/>是否选中 <a onclick="send()">点击</a> <script src="~/wwwroot/lib/jquery/dist/jquery.js"></script> <script type="text/javascript"> function send() { var id = document.getElementById('test'); alert(id.checked) } </script>