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 5: | Line 5: | ||
$('#next').on('click', function(event){ | $('#next').on('click', function(event){ | ||
alert($("input[name='stash']").val()); | alert($("input[name='stash']").val()); | ||
var Q = document.getElementById('question'); | |||
Q.innerHTML = ""; | |||
var newPos = $("input[name='pos']").val() + 1; | var newPos = $("input[name='pos']").val() + 1; | ||
$("input[name='pos']").val(newPos); | $("input[name='pos']").val(newPos); |