How can i get the city and street name autocompleted in a form when someone fills the postcode and house number in a html form using AJAX.
Please help me out. I want the addresses only from the Netherlands. Many thanks in advance
1. You need to have some code which runs when it's clear that the postcode and house number fields have been completely filled in.
2. You need to use AJAX to send those two fields to a service somewhere which will return the related city and street names.
3. Upon receiving the AJAX response you need to extract the city and street names from it and put them into the appropriate fields.
That's just a general outline because your post didn't really discuss what problem you were having. Maybe you can't find a web service which deals with the Dutch addresses for you? Maybe you have no idea how to use AJAX? Could be anything. So let's start from there and see what questions you have based on that.
posted 1 month ago
Thank you for your response, I am a beginner in programming, I have an application form where users can fill their informations. All the other functions are working. But I also need to add auto completed city and street fields. And I don’t know where to start from. I have no idea about AJAX.