When I click the "submit" button it should do AJAX and put the
contents of the insertme.html file in the id "feeds" but it's not
working.  I must be missing something really basic...

<html><head>
<script src="jquery-1.2.1.min.js"></script>
<script>
function loadme(){alert("Hi, I'm running!"); $
('#feeds').load('insertme.html');}
</script>
</head>
<body>
<ul id="feeds"></ul>
<form>
<input name="stuff" type="text"><br>
<input type="submit" value="Go" onClick="Javascript:loadme();">
</form>
</body>
</html>

Reply via email to