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 14: Line 14:
selectExam();
selectExam();


        $("div.answer").hover(function() {
            $(this).css('border','5px solid black');
            alert("Wax On");
        },
        function () {
              $(this).css('border','0px solid black');
              alert("Wax Off");
        }
        );


$('#next').on('click', function(event){
$('#next').on('click', function(event){
Line 120: Line 129:
hideButtons();
hideButtons();
$.each(data.query.results, function(index, value){
$.each(data.query.results, function(index, value){
        $("div.answer").hover(function() {
 
            $(this).css('border','5px solid black');
            alert("Wax On");
        },
        function () {
              $(this).css('border','0px solid black');
              alert("Wax Off");
        }
        );
var short = value.printouts;
var short = value.printouts;
var Q = document.getElementById('question');
var Q = document.getElementById('question');

Revision as of 15:43, 30 October 2012