Skip to content

Instantly share code, notes, and snippets.

@jacksonhenry3
Created July 11, 2012 20:53
Show Gist options
  • Save jacksonhenry3/3093364 to your computer and use it in GitHub Desktop.
Save jacksonhenry3/3093364 to your computer and use it in GitHub Desktop.
test wiki api
<html>
<head>
<title></title>
</head>
<body>
<script type="application/javascript">
var url = "http://en.wikipedia.org/w/api.php?action=opensearch&search=value&format=json&callback=spellcheck";
var elem = document.createElement ("script");
elem.setAttribute ("src", url);
elem.setAttribute ("type","text/javascript");
document.getElementsByTagName ("head") [0].appendChild (elem);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment