Widget:Sandbox2: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
(54 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function | $(document).ready(function(){ | ||
var queryString = ''; | |||
$. | $.ajax({ | ||
url : 'http://www.wikidoc.org/api.php?action=load&main=[%22Anatomy%22,%22Genetics%22,%22Biochemistry%22]&sub=[%22Cardiology%22,%22Dermatology%22,%22Endocrine%22]&exam=USMLE_Step_1&num=10&format=json', | |||
async : false | |||
}).done(function (data) { | |||
$.each(data.questions.list, function(key, element){ | |||
console.log(key); | |||
}); | |||
}).error(function(error){ | |||
console.log(error); | |||
}); | |||
}); | }); | ||
</script> | </script> | ||
</includeonly> | </includeonly> |