Widget:Testbed: Difference between revisions

Jump to navigation Jump to search
Matt Pijoan (talk | contribs)
No edit summary
Matt Pijoan (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
username : 'Matt_Pijoan',
username : 'Matt_Pijoan',
                 question : 'TestQues',
                 question : 'TestQues',
difficulty : 5,
quality : 5,
format : 'json'
format : 'json'
}, {
}, {
Line 16: Line 16:
});
});
});
});
$("#input2").click(function(){
    var api = new mw.Api();
api.get({
action : 'wbrgetrating',
                question : 'TestQues',
                format : 'json'
        }, {
            ok : function(res){
            alert('Input 2 Sucess');
            }


});
});


});
});

Latest revision as of 15:20, 11 October 2013