smart search jquery plugin

Solutions on MaxInterview for smart search jquery plugin by the best coders in the world

showing results for - "smart search jquery plugin"
Valentina
11 Sep 2017
1<!doctype html>
2<html lang="en">
3<head>
4  <meta charset="utf-8">
5  <meta name="viewport" content="width=device-width, initial-scale=1">
6  <title>jQuery UI Autocomplete - Default functionality</title>
7  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
8  <link rel="stylesheet" href="/resources/demos/style.css">
9  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
10  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
11  <script>
12  $( function() {
13    var availableTags = [
14      "ActionScript",
15      "AppleScript",
16      "Asp",
17      "BASIC",
18      "C",
19      "C++",
20      "Clojure",
21      "COBOL",
22      "ColdFusion",
23      "Erlang",
24      "Fortran",
25      "Groovy",
26      "Haskell",
27      "Java",
28      "JavaScript",
29      "Lisp",
30      "Perl",
31      "PHP",
32      "Python",
33      "Ruby",
34      "Scala",
35      "Scheme"
36    ];
37    $( "#tags" ).autocomplete({
38      source: availableTags
39    });
40  } );
41  </script>
42</head>
43<body>
44 
45<div class="ui-widget">
46  <label for="tags">Tags: </label>
47  <input id="tags">
48</div>
49 
50 
51</body>
52</html>
53