![]() |
Can these answers be randomized easily
Hello,
I am hoping that I can easily randomize the order of these answers without redoing a lot of code. The problem is that I am putting each question from an XML file into an array (this block of XML includes the answers). In hind sight it would have been better if I had put each anser into it's own array. In the jQuery '.each' loop below I was hoping I could do something to randomize the list of answers. I am including the XML structure. Any help would be greatly appreciated. Code:
//***** Loop through the array, display each answer, store the correct answer for comparison later *********/Code:
$("#kc_directions").html($(xml).find('directions').text());Code:
<question> |
| All times are GMT +1. The time now is 03:24 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.