Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (28 sloc) 1.55 KB
<html>
<head>
<!-- Dependencies -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery.indextank.ize.js"></script>
<script type="text/javascript" src="jquery.indextank.autocomplete.js"></script>
<script type="text/javascript" src="querybuilder.js"></script>
<script type="text/javascript" src="jquery.indextank.ajaxsearch.js"></script>
<script type="text/javascript" src="jquery.indextank.renderer.js"></script>
<script type="text/javascript" src="jquery.indextank.instantsearch.js"></script>
<link type="text/css" rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/south-street/jquery-ui.css" media="all" />
<script>
$(document).ready(function(){
$("#myform").indextank_Ize(YOUR_PUBLIC_API_URL, YOUR_INDEX_NAME);
var renderer = $("#results").indextank_Renderer();
$("#query").indextank_Autocomplete().indextank_AjaxSearch( {listeners: renderer}).indextank_InstantSearch();
});
</script>
</head>
<body>
<h3>Start typing and see suggestions from indextank.com's documentation.</h3>
<form id="myform" action="ignored.html">
<input id="query" type="text"/>
</form>
<div id="results"></div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.