Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

XML / Javascript

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…
Suggested Courses

636 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