jQuery – autocomplete()

 
<script>
$( function() {
        var availableTags = [
        “Asp”,
        “BASIC”,
        “JavaScript”,
        “PHP”
];
$( “#tags” ).autocomplete({
        source: availableTags
        });
} );
</script>
</head>
<body><div class=”ui-widget”>
        <label for=”tags”>Tags: </label>
        <input id=”tags”>
</div>