Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a jQuery plugin for IndexTank
JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
jquery.indextank-autocomplete.js

README

== a jQuery plugin for Indextank == 

== Features ==
 * add autocomplete capabilities to a jQuery chain (input fields preferred :D )

== Dependencies ==
 * jQuery > 1.4.3 (http://code.jquery.com/jquery-1.4.3.js)
 * jQuery UI > 1.8 (https://github.com/jquery/jquery-ui/zipball/1.8.11)

== Usage == 

 * import jquery script
 * import jquery-ui script
 * import jquery.autocomplete.js

 * on the HEAD element of the HTML document containing the input, write
 <script type="text/javascript">
    $(window).load(function(){
        $('input#query').autocompleteWithIndextank(PUBLIC_API_URL, INDEX_NAME);
    });
 </script>

== TODO ==

 * add instant search capabilities to a jQuery chain (div elements preferred :D )


Something went wrong with that request. Please try again.