Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6906555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:19:30+00:00 2026-05-27T08:19:30+00:00

I am building a webpage that needs to Query the database and display events

  • 0

I am building a webpage that needs to Query the database and display events in your area based on the users GeoLocation. I’ve seen this done so many times now on a lot of websites. But I have never built this functionality before.

I have the GeoLocation part functioning. When you land on the page it displays your zip code. I’m not sure how to grab that Zipcode from the div and query the database immediatley.? This webpage being is built using Orchard MVC/NHibernate.

Any suggestion would be helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:19:30+00:00Added an answer on May 27, 2026 at 8:19 am

    It sounds like you want the entire solution, but I’m not going to go into that kind of detail.

    So I’ll give you tips:

    1. Use jQuery to grab the zip code from the DOM
    2. Use jQuery to do an AJAX call to a action method in one of your controllers, passing the zip
    3. Have the controller call the DB and hydrate the results into JSON
    4. Have the controller return a JsonResult
    5. Have jQuery handle the response of the AJAX call and do something meaningful
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a component of a web page that needs relatively constant database polling.
building a site using PHP and MySQL that needs to store a lot of
I´m building a webpage that has a sort of catalog in it, which shows
In the webpage I'm building, I have a div that I need to have
I am creating a webpage with javascript that is doing some processing and building
I'm building a webpage and I'm getting the following warning (and the page loads
I'm building a wepage in php using MySQL as my database. Which way is
Building a new Mobile Web Platform for Mobile Users to purchase & download content
I'm building a django webpage but I seem to have hit a snag as
It seems to me that Rails shines when building web-centric applications such as the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.