2
I’m using this plugin - jquery autocomplete.
I have a select option
and the plugin dynamically creates a input type="text"
and hides the select
. Everything works!
I would like to know how to make, every letter I type, do a search in the database to know if there is an equal word.
Actually, I just need to figure out how to go through the input text
created with each typed letter.
Some guidance?
Here’s the project I took to use: http://jsfiddle.net/emirdeliz/swqwLfxu/
What programming language do you use? Php, Java, C#, Pyton?
– Marconi
Php and Jquery. Only in this case only Jquery is involved!
– Carlos Rocha
@Carlosrocha, do you want the Datasource of Autocomplete to be Remote? type, the autocomplete shows the first 10 results coming from the database containing the informed text.
– Tobias Mesquita
No. Next. My Select has already been populated by the database. Normal. Now, Jquery has created a text box because a select does not accept typing. With each letter I type in the text box created by the plugin, it will autocomplete with the occurrences that exist in select, correct? What I wanted is that as the autocomplete finds matches as this autocomplete, a bank search is made. This search I know how to do, but this loop letter by letter I don’t know!
– Carlos Rocha
Gosh, no one knows that?
– Carlos Rocha