Loop in autocomplete JQuery

2

I'm using this plugin - jquery autocomplete .

I have select option and the plugin dynamically creates a input type="text" and hides select . Everything works!

I would like to know how to do each letter I type, search the database to see if there is an equal word.

In fact, I just need to figure out how to loop through the input text created for each letter you typed. Any guidance?

Here's the project I took to use: link

    
asked by anonymous 29.09.2015 / 20:16

1 answer

2

I added line 17 and lines 32 to 45.

link

    
02.10.2015 / 03:08