ok please check the page out
i changed the ajax code to onblur to show that the zip code query to the database is bringing back the data before the submit post action takes place. you can tell what the ajax is doing there. then when the post submit button is pressed the map area is updated with the new city and state, and zip code - all are being reset in the page. however the map does not change location. so how is it that the map knows about the new variables, it is using them in the text on the map itself, but the map does not change its location to the new zip code with the new city and new state locations?
rebate.php
step 1 - enter a zip code and hit tab, the onblur will send the request to the handler and return city and state for the zipcode. you will see below the "Please enter your ZIp Code" the echo from the handler. Then hit the Submit button and you will see the page has taken a refresh, the 4 lines should change and the map below will show "Service:" and then in parens the new City and State. My guess is that the "Service" text here is not yet understood, and is the reason the map doesn't change. But what does that "Service" mean?