JavaScript
$("#Name").prop('checked', true);
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'>
<BR>
<input id="myElement2" type='checkbox'>
<!-- JavaScript -->
<script>
// the page has opened
$( function()
{
// looking for an element by ID and install checkbox
$("#myElement1").prop('checked', true);
// looking for an element by ID and reset checkbox
$("#myElement2").prop('checked', false);
});
</script>
</body>
</html>