Topic: Autocomplete get data from database
                                            
                                            Christian Cazzaro
                                     pro                                     asked 3 years ago                                
Hi
I want to use autocomplete but it is not convenient for me to insert the list of data in the JS as the list is huge. I would like to retrieve data from my database with Ajax.
The search should find hotels or cities all over the world for a travel booking tool.
Do you have an example I can use?
Thank you
                                                    
                                                    kpienkowska
                                             staff                                             answered 3 years ago                                        
We do have example of asynchronous search in our docs: https://mdbootstrap.com/docs/standard/forms/autocomplete/#section-async-search
I hope it helped.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
 - Premium support: No
 - Technology: MDB Standard
 - MDB Version: MDB5 4.3.0
 - Device: MacBook Pro
 - Browser: Chrome
 - OS: iOS
 - Provided sample code: No
 - Provided link: No