Solved

XML / Javascript

Posted on 2014-02-06
5
232 Views
Last Modified: 2014-02-06
I have inherited a messy situation.

Please look at http://www.thesource-online.com/local-distributors.php.

Note the dropdown "Select a state". The customer wants to add a distributor in Louisiana.

I attach the source of local-distributors,php & local-distributors.php and Sprydata.js. Note in the 2nd file there is a dropdown of XML files for each state. Since Louisiana was 18, I found that file & edited it to add the new distributor. See attached 18.xml, I posted the NEW 18.xml on the site in the right folder.

When you run it it shows the old version. of course I did a refresh, still the same.

How can I get this change to "take"?
distributors-list.php
local-distributors.php
SpryData.js
18.xml
0
Comment
Question by:Richard Korts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39839800
It is still probably a caching problem.  Secondary files get cached also but there is nothing in the main file to tell the browser they have been changed.  Open 'assets/xml/18.xml' directly in your browser and then go back to that page and see if it is now correct.
0
 

Author Comment

by:Richard Korts
ID: 39839906
Dave Baldwin,

Nope, till the same (on the site).

Opening the xml file shows the correct things.

Thanks
0
 

Author Comment

by:Richard Korts
ID: 39839911
To Dave Baldwin,

If you open it, are there 5 distributors in Louisiana? Or 4?

Thanks
0
 

Author Comment

by:Richard Korts
ID: 39839924
It is somehow a cacheing issue.

I opened it in Chrome, it's there.

Thanks,

Richard
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39840013
Yes, I get 5 listed for Louisiana.  That page is hard for me to read with gray text on a gray background.  Contrast is kind of poor.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question