GeoDirectory SupportNear Me Search – JS to disable search until… – GeoDirectory Support https://wpgeodirectory.com/support/topic/near-me-search-js-to-disable-search-until/feed Sun, 05 Apr 2026 21:59:15 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/near-me-search-js-to-disable-search-until/#post-51798 <![CDATA[Near Me Search – JS to disable search until…]]> https://wpgeodirectory.com/support/topic/near-me-search-js-to-disable-search-until/#post-51798 Thu, 03 Sep 2015 14:02:48 +0000 jkirker Currently you can check the “Near Me” box and execute a search prior to the API pinpointing your location.

If the search is executed prior to the location being set, it will sometimes return a JS error and other times just return a list of locations which is ordered by the last entered – not near me.

We should use JS/AJAX when Near Me is checked and only allow the search to be executed if the location has been found – otherwise wait – or prompt the user to wait until the browser has identified their location.

See video here:
https://vimeo.com/138199159

]]>
https://wpgeodirectory.com/support/topic/near-me-search-js-to-disable-search-until/#post-51816 <![CDATA[Reply To: Near Me Search – JS to disable search until…]]> https://wpgeodirectory.com/support/topic/near-me-search-js-to-disable-search-until/#post-51816 Thu, 03 Sep 2015 15:44:26 +0000 Paolo

A valid license is required to view this reply.

You may need to login

OR

Buy either a Membership or valid license for this product.

Thanks, Team GeoDirectory!

]]>
https://wpgeodirectory.com/support/topic/near-me-search-js-to-disable-search-until/#post-51841 <![CDATA[Reply To: Near Me Search – JS to disable search until…]]> https://wpgeodirectory.com/support/topic/near-me-search-js-to-disable-search-until/#post-51841 Thu, 03 Sep 2015 20:50:00 +0000 jkirker

A valid license is required to view this reply.

You may need to login

OR

Buy either a Membership or valid license for this product.

Thanks, Team GeoDirectory!

]]>