locked
Getting JSON values? RRS feed

  • Question

  • Hello :)

    I have a resjson file called settings.resjson contains

    {
        "FirstTimeLoad" : "1",
       "Name":"value2"
    }

    and i made a page called welcome.html.. what i want to do is make this page check if the applications opens for the first time redirect to the settings.html page, if not redirects to default.html

    with JavaScript it means accessing the settings.resjson and check if FirstTimeLoad is 1 so it can redirects to settings.html and in settings page i will have to set the value to 0 so next load for the app will redirect directly to default.html

    I don't know how to do it, after a pretty long search in the Learn section i got nothing.. Any possible solution ? Thanks :-)

    Sunday, March 4, 2012 12:28 PM

Answers

All replies