Widget:SandboxNew: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
selectExam(); | selectExam(); | ||
$('#next').on('click', function(event){ | $('#next').on('click', function(event){ | ||
var Q = document.getElementById('question'); | var Q = document.getElementById('question'); | ||
Q.innerHTML = ""; | Q.innerHTML = ""; | ||
Line 46: | Line 45: | ||
$("input[name='results'").val($("input[name='pos']").val() + "false,"); | $("input[name='results'").val($("input[name='pos']").val() + "false,"); | ||
} | } | ||
$("input[name='pos']").val( | $("input[name='pos']").val(1); | ||
$('#next').css('visibility','visible'); | $('#next').css('visibility','visible'); | ||
}); | }); |