?
Solved

XML / Javascript

Posted on 2014-02-06
5
Medium Priority
?
239 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

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

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

764 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