Active search with HTMX and Jeasx
Implementing active search with HTMX and Jeasx is straightforward. This example uses Photon, a geocoder for OpenStreetMap data built for search-as-you-type, to find addresses: the results update while you type, without reloading the page.
Pick the service with care: Nominatim, the official geocoder of OpenStreetMap, doesn't allow search-as-you-type. The server caches the results and limits its requests, as the public Photon instance asks for fair use.
Searching…
Type at least 3 characters. Data © OpenStreetMap contributors.