www.webdeveloper.com

Search:

Type: Posts; User: c00ch

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    2,572

    Doh!

    Strike my previous question. All I needed was a bit of chocolate and the question answered itself


    alert(json.results["1"]);
  2. Replies
    2
    Views
    2,572

    JSON accessing "numbered" object values

    I guess I'm really thick, but I am going crazy with this JSON object:



    var json={
    "item":"random",
    "results":{
    "1":"test"
    }
    }
Results 1 to 2 of 2
HTML5 Development Center



Recent Articles