Streaming live at 10am (PST)

Google Maps JQuery/Ajax


#1

Hi there,

I am stumped at one thing. I create a Google maps with API key on a website. I would like that user enters “postcode number” on a field next to a map. When searching, the maps show the nearest places (from the CMS entities already entered) for specific radius let say 10 miles.

But to calculate nearest places from postcode entered, I have called PHP file on happydeskapi server using Ajax. Now the problem is the ajax request does not wait for response from server. Its jQuery and Ajax issue and I am trying to resolve it from hours but no clue. Tried many solutions

Shared link: https://preview.webflow.com/preview/clayton-shagal-belux?preview=2b7998b0a7d9e5d6a6d67962875ca863

Thanks in advance for your help!