Saturday, 19 July 2014

Autocomplete in JQuery

Enables users to quickly find and select from a pre-populated list of values as they type, leveraging searching and filtering.
The Autocomplete widgets provide suggestions while you type into the field. Here the suggestions are tags for programming languages; give "ja" (for Java or JavaScript) a try.
<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <title>jQuery UI Autocomplete - Default functionality</title>

    <link rel="stylesheet" href="//">
    <script src="//"></script>
    <script src="//"></script>   

        $(function () {
            var availableTags = [

                source: availableTags

    <div class="ui-widget">
        <label for="tags">Tags: </label>
        <input id="tags">

No comments:

Post a Comment