Hey guys what am I doing wrong here? Im trying to make it so that when I click the different ids, it will load the external txt and html into the div with the id of "jersey". RIght now when i click nothing happens it just stays the same.
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"> </script>
<script type="text/javascript">
$(document).ready(function() {
$("#test").click(function() {
$("#jersey").load("ajaxtest.txt");
});
$("#testtwo").click(function() {
$("#jersey").load("ajaxtesttwo.html");
});
});
</script>
</head>
<body>
<a href="#" id="test">Test 1</a>||<a href="#" id="testtwo">Test 2</a>
<div id="jersey">what a wonderful world</div>
<br clear="all" />
</body>
</html>