反正有没有做..
var init = {
'questions': [
{
'question': 'jQuery is a...',
'answers': ['JavaScript library','Ruby Gem','PHP Framework','None of the above'],
'correctAnswer': 1
},
{
'question': 'X comes after?',
'answers': ['P','W','Y','v'],
'correctAnswer': 2
},
{
'question': 'Meh stands for..',
'answers': ['Eh','/Sigh','What?','Whatever'],
'correctAnswer': 4
}
] };
现在系统以它的书写方式向我展示了这个问题。那么有没有办法让这些问题随机显示?谢谢你。