I open this in Firefox and start typing in the text box and I am not given any options. What am I missing?
<script type='text/javascript' language='javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js'></script>
<SCRIPT>
$(function() {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp"
];
$( "#tags" ).autocomplete({
source: availableTags
});
});
</SCRIPT>
<html>
<body>
<DIV class=demo>
<DIV class=ui-widget>
<LABEL for=tags>Tags: </LABEL>
<INPUT id=tags> </INPUT>
</DIV>
</DIV><!-- End demo -->
</body>
</html>
Try
You were missing jQuery.