prompt error in jquery ui file
- by phil
I run the script in IE 8 and get error message after typing in the input field:
//error message from IE8
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2)
Timestamp: Mon, 7 Jun 2010 23:13:10 UTC
Message: Object expected
Line: 570
Char: 394
Code: 0
URI: http://localhost/zhong/jquery-ui-1.8.2.custom.min.js
<script src="jquery-1.4.2.min.js"></script>
<script src="jquery-ui-1.8.2.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.2.custom.css" />
<body>
Search: <input id="example" />
</body>
<script>
$(document).ready(function(){
var data = "Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" ");
$("#example").autocomplete(data);
});
</script>