Autocomplete using jquery or javascript

can anyone recommend a good autofill autostart that uses javascript or jquery? I want him to be fast and without ajax.

Thank.

+3
source share
2 answers

jQuery Autocomplete plugin allows you to use either Ajax OR a locally defined dataset (without ajax).

+2
source

It is best to use the jquery user interface built into the Autocomplete Widget. http://jqueryui.com/demos/autocomplete/

The good part is that all jquery scripts can be downloaded from the Google CDN. No extra load on your server.

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css" type="text/css" media="all" /> 
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js" type="text/javascript"></script>
0
source

Source: https://habr.com/ru/post/1791794/


All Articles