Create Auto complete to Input field without database Jquery

Auto complete system one of the simple thing, It will done by using Jquery. Now we will see how to create auto complete process to the input field by using manually given keyword by the programmer. This process is very useful to the user. When user types the keyword it automatically shows the suggestion tho the used based on the given keyword.

 There is two ways to complete this process one is auto complete based on the database data and another one is based on the given keyword.For this concept there is no need any database. In previous session i showed you here how to create auto complete system with database. I hope this below example will help you. Check out my demo page in below link.

<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery UI Autocomplete - Default functionality</title>
<link rel="stylesheet" href="">
<script src=""></script>
<script src=""></script>
$( function() {
var availableTags = [
$( ".san" ).autocomplete({
source: availableTags
} );

border:1px solid red;
margin:0 auto;

margin:0 auto;
background-color: #588659;
padding: 65px 35px;
<div class="content">
<h2 style="color:#fff; text-align:center;">Auto complete System without database using jQuery</h2>
<input class="san">
<p style="color:#fff; text-align:center;"></p>

Post a Comment