JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
<div class="ui-widget">
<label for="tags">Tags: </label>
<input id="tags" />
</div>

JavaScript

var availableTags = [
"Paris",
"Marseillan",
"Agde",
"Cap d'Agde",
"Beziers"
];
$( "#tags" ).autocomplete({
  minLength: 0,
  source: availableTags,
  select: function(){alert('whouhou')}
});