JavaScript
$("#Name").prop('checked');
Html
<html>
<!-- heading -->
<head>
<meta charset="utf-8">
<title>Example</title>
</head>
<!-- page -->
<body>
<!-- connect the library jQuery -->
<script src="https://dir.by/example_lib/jquery/jquery-3.3.1.min.js"></script>
<!-- HTML Elements -->
<input id="myElement1" type='checkbox' checked>
<BR>
<input id="myElement2" type='checkbox'>
<!-- JavaScript -->
<script>
// the page has opened
$( function()
{
// looking for an element by ID and take the meaning checkbox
var value = $("#myElement1").prop('checked');
alert(value);
// value = true
// looking for an element by ID and take the meaning checkbox
value = $("#myElement2").prop('checked');
alert(value);
// value = false
});
</script>
</body>
</html>