Giter VIP home page Giter VIP logo

Comments (8)

bjorn2404 avatar bjorn2404 commented on July 24, 2024

Added an example blog post: http://www.bjornblog.com/web/using-query-string-parameters-with-the-jquery-store-locator

from jquery-store-locator-plugin.

jotapee avatar jotapee commented on July 24, 2024

Thank you!
I've tried this on my site, following your documentation step by step...it didn't work for me though.
I had to create a custom jquery function to get the search variable, store it apply it to the field and submit the form.
I will do some more testing though, I'll let you know if it's still not working for me.

from jquery-store-locator-plugin.

jughead47 avatar jughead47 commented on July 24, 2024

@jotapee I think you need to make sure ‘fullMapStart’ is set to true. I don't think that is stated in the tutorial.

from jquery-store-locator-plugin.

jughead47 avatar jughead47 commented on July 24, 2024

I have the query string working. However, I have another search form on the results/map/locator page. If I use that search after I use a query string from another page, the map and listings do not update, I believe because the get method keeps the query string in the url. How would I go about getting this search form to work? Is there a way to use the post method to get it working?

from jquery-store-locator-plugin.

bjorn2404 avatar bjorn2404 commented on July 24, 2024

@jotapee you shouldn't have to do that if you're using the latest version of the plugin.

@jughead47 Looks like it's a bug. I'll reopen this issue - not sure when I'll get to it but I might have time this weekend.

from jquery-store-locator-plugin.

jughead47 avatar jughead47 commented on July 24, 2024

@bjorn2404 Thank you, much appreciated.

from jquery-store-locator-plugin.

bjorn2404 avatar bjorn2404 commented on July 24, 2024

@jughead47 v2.0.8 has the fix for your issue.

from jquery-store-locator-plugin.

jughead47 avatar jughead47 commented on July 24, 2024

@bjorn2404 Thank you very much! Working perfectly!

from jquery-store-locator-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.