troubleshooting Question

retrieve json response through javascript

Avatar of chrisvee
chrisvee asked on
JavaScriptAJAXjQuery
9 Comments1 Solution593 ViewsLast Modified:
I want to retrieve json response through jquery.

$.getJSON("http://json-time.appspot.com/time.json?callback=?", function(data){

    $.each(data, function(key, value){
        document.write(key+": "+value+"<br />"); 
    });
});

code demo

the above code retrieves all data.

But what to do if i want to retrieve only value of  second or hour or minute?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 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 9 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