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

  • Home
  • SEARCH
  • 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 6571413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:52:46+00:00 2026-05-25T14:52:46+00:00

I am retrieving Google’s weather API XML and using PHP. I’m retrieving the weather

  • 0

I am retrieving Google’s weather API XML and using PHP. I’m retrieving the weather for any searched city.

Now, this “app” is under a tab and whenever I submit the form it refreshes and I want to prevent this.

Is it possible? This will be implemented in a dashboard – thats the reason I want to prevent the refresh.

This is what I mean: http://www.screenr.com/30As

The entire code is here: http://jsfiddle.net/ZshpF/
Simply, copy paste the code in a php file and it will work.

  • 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-25T14:52:47+00:00Added an answer on May 25, 2026 at 2:52 pm

    You’ll want to use AJAX. Since you mention jQuery in the tags, it has a very handy function for making the call to the server. But making the call from the JavaScript is only half the story, you’ll also need something on the server listening for that call. It would essentially be another PHP script which acts as a page in and of itself, but would return data in the form of (most likely) JSON instead of HTML. It’s not meant to be human-readable, but rather to be a sort of web service for your JavaScript code to use.

    You can find a simple example here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using http://maps.google.com/maps/api/js?sensor=false to retrieve latitude and longitude for address. While retrieving the
I am retrieving a Google Earth .kml (xml) file and using the content to
I currently using Google Places API for retrieving information for in a mobile application(iOS
I am having difficulties in retrieving 50 results from google. I'm using this: public
I'm currently using the new Google API 1.5 beta, and I can't find any
I'm using DotNetOpenAuth lib to work with Google(only) OpenId. And I'm retrieving Email without
We have a flash retrieving information from an XML file. Right now we are
I'm having trouble retrieving 2 artifacts in my Maven/Java/Google App Engine project: com.google.appengine.orm:datanucleus-appengine:jar:1.0.7.final com.google.appengine:appengine-api-1.0-sdk:jar:1.3.4
I am using a form to upload files to the google app engine and
I am interested in retrieving this type of link from maps.google.com https://i.stack.imgur.com/2rInK.jpg At 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.