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 119: Line 119:


     $( "input[name='answer']" ).click(function(){
     $( "input[name='answer']" ).click(function(){
      $this.checked(true);
       var Results = $("input[name='results']").val().split(",");
       var Results = $("input[name='results']").val().split(",");
       var Pos = parseInt($("input[name='pos']").val()) - 1;
       var Pos = parseInt($("input[name='pos']").val()) - 1;
Line 133: Line 132:
       showButtons();
       showButtons();
       $("input[name='stash']").val(Questions.toString());
       $("input[name='stash']").val(Questions.toString());
      $this.checked(true);
     });
     });
});
});

Revision as of 10:10, 30 October 2012