Skip to content

Instantly share code, notes, and snippets.

@dovidezra
Last active April 17, 2018 03:04
Show Gist options
  • Save dovidezra/8f28769d89770d21b4b5c945138b472e to your computer and use it in GitHub Desktop.
Save dovidezra/8f28769d89770d21b4b5c945138b472e to your computer and use it in GitHub Desktop.
CDN hosted jQuery based Autocomplete script with Millions of Suggestions. Details: https://knowledgebasehub.com
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- jQuery Required Library -->
<link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/themes/base/jquery-ui.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-2.x-git.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
<!-- Our CDN Hosted Script -->
<script type="text/javascript" src="https://sitecolo.github.io/knowledgebasehub/youtube/yt-en.js"></script>
</head>
<body>
<form class="searchform cf">
<!-- Note: the id is called by the script -->
<input id="search" type="text" placeholder="Start typing a search term">
<button type="submit">Search</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment