JSFiddle - React, Tailwind, and code Playground
by mooyah
HTML
<script type="text/javascript" src="http://local.publisher.spotxchange.com/js/web_include/mootools?debug=true"></script>
<script type="text/javascript" src="http://local.publisher.spotxchange.com/js/web_include/jq/jquery/jquery-1.9.1.min.js?debug=true"></script>
<script type="text/javascript" src="http://local.publisher.spotxchange.com/js/web_include/jq/jquery.ui/jquery-ui-1.10.0.custom.js?"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
<link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css" />
<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags" />
</div>
JavaScript
jQuery(function() {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
jQuery( "#tags" ).autocomplete({
source: availableTags
});
});