Hey I am trying to get jquery to work but for some reason it won,t run or excute anything todo with JQuery, Ive even tried A public server.
Heres the general.js coden
Heres the html
Am I doing everything right?
Heres the general.js coden
Code:
$(document).ready(function() {
$('#content').load('content/index.php');
}};
Heres the html
Code:
<!doctype html>
<html>
<head>
<title>My Refresh Auto</title>
<link rel="stylesheet" href="css/styles.css" />
</head>
<body>
<ul id="nav">
<li><a href="index"> Home</a> </li>
<li><a href="about">About Us </a></li>
<li><a href="contact"> Contact </a></li>
</ul>
<div id="content"></div>
<script src=" http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="js/general.js"></script>
</body>
</html>
Am I doing everything right?







