[jQuery] whats wrong with this query?
Hi,
I'm getting a javascript error when i run this... its an IE error
"Object expected line 10 char 5" any ideas?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/
TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript"
src="jquery.js"></script>
<script type="text/javascript">
function loadContent(id) {
$("#contentArea").load("autocomplete.php?typing='+id+'");
}
</script>
</head>
<body>
Answer: <div id="contentArea"></div>
<input type="text" name="query" onkeyup="loadContent(1)"/>
</body>
</html>
Thanks