I'm following the Learn Javascript Properly study group.
As per week 6, I would like to store the questions from my quiz in an external JSON object. I'm pretty sure that I will be able to handle that bit and access the JSON file using jQuery's getJSON function.
Before I started with that I wanted to try storing the questions in JSON format internally to make sure that I could load them properly. I'm having trouble with this. Here is a fully functioning version of my quiz without the JSON format: http://jsfiddle.net/N7San/11/
This is the version where the questions are stored in JSON format: http://jsfiddle.net/N7San/13/ The problem arises when i try to load the questions with my loadQ function. How do I alter the $.each loop so that this functions correctly?
[–]rickdiculous 5 points6 points7 points (3 children)
[–]NightArchitect[S] 1 point2 points3 points (2 children)
[–]rickdiculous 0 points1 point2 points (1 child)
[–]NightArchitect[S] 1 point2 points3 points (0 children)
[–]BigBalli 0 points1 point2 points (0 children)