troubleshooting Question

Javascript query of JSON data file

Avatar of aviator21114
aviator21114 asked on
5 Comments1 Solution293 ViewsLast Modified:
Actually my original question was answered by Alexcode in a post named "XML query in Javascript"  I have a follow up question and didn't know if it could be viewed in the original post since it's closed.   As such the javascript that Alex presented is noted there.. Works wonderfully.   Please read it for the context of my follow up question..

I want to return multiple values of the query result.  If I query by "i" which is airport id I also want to return the "n" airport name and "t" and "g" the lat/long values.   I'm not sure how to do this.

Additionally, I want to move the JSON file to be external to the script.  How does this get named and also how do I reference the external JSON file from within the actual script doing the lookup

Thank you in advance for your input...
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros