Skip to content

Instantly share code, notes, and snippets.

Created Nov 9, 2018
What would you like to do?
jQuery UI Tutorial - Auto Complete Form -
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>jQuery Auto Complete</title>
.container {
margin: 100px auto;
text-align: center;
#inputField {
width: 300px;
height: 40px;
font-size: 18px;
<div class="container">
<h2>Auto Complete Form</h2>
<input type="text" id="inputField">
<script src=""></script>
<link rel="stylesheet" href="">
<script src=""></script>
var data = [
"Cake - Banana",
"Cake - Carrot",
"Cake - Strawberry",
"Candy - Apple",
"Candy - Orange",
"Candy - Strawberry",
"Juice - Apple",
"Juice - Carrot",
"Juice - Grape",
"Juice - Orange"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment