Solved

XML / Javascript

Posted on 2014-02-06
5
222 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
  • 3
  • 2
5 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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
Comment Utility
Dave Baldwin,

Nope, till the same (on the site).

Opening the xml file shows the correct things.

Thanks
0
 

Author Comment

by:Richard Korts
Comment Utility
To Dave Baldwin,

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

Thanks
0
 

Author Comment

by:Richard Korts
Comment Utility
It is somehow a cacheing issue.

I opened it in Chrome, it's there.

Thanks,

Richard
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Add Background to a PDF Programmatically 1 19
angularjs controller not found 1 16
Create XML 5 30
ASP.NET reading ATOM 2 22
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now