Widget:SandboxTestNew: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
$.get('http://www.wikidoc.org/index.php?title=Special%3AAsk&q=%5B%5BExamType%3A%3AUSMLE+Step+2+CK%5D%5D%5B%5BMainCategory%3A%3AInternal+medicine%7C%7CSurgery%7C%7COB%2FGYN%7C%7CPediatrics%7C%7CPsychiatry%5D%5D%5B%5BSubCategory%3A%3AAllergy%2FImmunology%7C%7CCardiovascular%7C%7CDermatology%7C%7CEndocrine%7C%7CGastrointestinal%7C%7CHepatology%7C%7CGenitourinary%7C%7CHead+and+Neck%7C%7CHematology%7C%7CInfectious+Disease%7C%7CMusculoskeletal%2FRheumatology%7C%7CNeurology%7C%7CObstetrics+and+Gynecology%7C%7COncology%7C%7COphthalmology%7C%7CPediatrics%7C%7CPoisoning%7C%7CPreventive+Medicine%7C%7CPsychiatry%7C%7CRespiratory%7C%7CSurgery%7C%7CBiostatistics%2F+Epidemiology%7C%7CEthics%7C%7CElectrolytes%7C%7CGenetics%7C%7CMiscellaneous%5D%5D&po=&eq=yes&p%5Bformat%5D=json', function (data) { | $.get('http://www.wikidoc.org/index.php?title=Special%3AAsk&q=%5B%5BExamType%3A%3AUSMLE+Step+2+CK%5D%5D%5B%5BMainCategory%3A%3AInternal+medicine%7C%7CSurgery%7C%7COB%2FGYN%7C%7CPediatrics%7C%7CPsychiatry%5D%5D%5B%5BSubCategory%3A%3AAllergy%2FImmunology%7C%7CCardiovascular%7C%7CDermatology%7C%7CEndocrine%7C%7CGastrointestinal%7C%7CHepatology%7C%7CGenitourinary%7C%7CHead+and+Neck%7C%7CHematology%7C%7CInfectious+Disease%7C%7CMusculoskeletal%2FRheumatology%7C%7CNeurology%7C%7CObstetrics+and+Gynecology%7C%7COncology%7C%7COphthalmology%7C%7CPediatrics%7C%7CPoisoning%7C%7CPreventive+Medicine%7C%7CPsychiatry%7C%7CRespiratory%7C%7CSurgery%7C%7CBiostatistics%2F+Epidemiology%7C%7CEthics%7C%7CElectrolytes%7C%7CGenetics%7C%7CMiscellaneous%5D%5D&po=&eq=yes&p%5Bformat%5D=json', function (data) { | ||
var obj = jQuery.parseJSON(data); | var obj = jQuery.parseJSON(data); | ||
alert(obj); | for(var key in obj) { | ||
alert('key: ' + key + '\n' + 'value: ' + obj[key]); | |||
} | |||
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
</includeonly> | </includeonly> |