Created
July 4, 2016 08:54
-
-
Save atarkowska/9133b092d3048e692b39f4a14ce2a7d1 to your computer and use it in GitHub Desktop.
CORS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>load demo</title> | |
<style> | |
body { | |
font-size: 12px; | |
font-family: Arial; | |
} | |
</style> | |
<script src="https://code.jquery.com/jquery-1.10.2.js"></script> | |
<script> | |
$(document).ready(function () { | |
$.getJSON('http://idr-demo.openmicroscopy.org/webclient/api/annotations/', { 'type': 'file', 'screen': 202 }, function(data) { | |
$.each(data, function(index, element) { | |
$('body').append($('<div>', { | |
text: element | |
})); | |
}); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment