HTML/JS/PHP/PYTHON: Textbox autosuggestion
- Status: Closed
- Præmier: ₹3000
- Modtagne indlæg: 3
- Vinder: NathanD3V
I have a textbox with autosuggestions of cities and districts in Portugal:
I want the textbox to have the same autosuggestions as on airbnb.pt (https://ibb.co/QQjx8SL)
This means I need a script which fetches the data from the json-file of airbnb:
The script should show the same suggestions. The textbox and dropdown do not need to have the same design (css is not important).
To prevent too much crawling, the results should be saved localy. So if a user searches for "Porto", the script should fetch the json results from airbnb and save it localy. The next time a user searches for "Porto", it should get the results from the local storage.
I will accept the first working result.