i'm trying to load Html page on click on a link , but for some reason it doesn't work at all .
this is my LogIn.HTML page :
<!DOCTYPE>
<html>
<head>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#game1").click(function(){
$("#result1").load('Game.html');
});
$("#players").click(function(){
$("#result1").load('players.html');
});
});
</script>
</head>
<body>
<table>
<tr>
<td><a id="game1" href="" style="color:white;">Game</a></td>
</tr>
<tr>
<td><a href="" id="players" style="color:white;">players</a></td>
</tr>
</table>
<div id="result1" >
</div>
</body>
</html>
AND this is my basic Game.html (the Players.html same concept):
<!DOCTYPE>
<html>
<head>
<h1>this is first game!!!</h1>
</head>
</html>
i've tried many solutions but i can't make it work , also i open the html page using chrome (not localhost,regular one) does it affects ?