JSFiddle - React, Tailwind, and code Playground

by patrick29

HTML

<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
<div id='test_dialog' title='test'>
  <form method='post'>
    <input id='autocomplete_input'>
  </form>
</div>

JavaScript

$('#test_dialog').dialog({
	autoOpen: true,
	width: 'auto'
});

$('#autocomplete_input').autocomplete({
	source: [
		"This is the choice number 000",
		"This is the choice number 001",
		"This is the choice number 002",
		"This is the choice number 003",
		"This is the choice number 004",
		"This is the choice number 005",
		"This is the choice number 006",
		"This is the choice number 007",
		"This is the choice number 008",
		"This is the choice number 009"
		]
});