<html>
<head>
<script type="text/javascript">
var xmlhttp;
function loadXMLDoc(url)
{
xmlhttp=null;
if (window.XMLHttpRequest)
{// code for IE7, Firefox, Mozilla, etc.
xmlhttp=new XMLHttpRequest();
if (xmlhttp.overrideMimeType){
xmlhttp.overrideMimeType('text/xml');
}
else if (window.ActiveXObject)
{// code for IE5, IE6
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
if (xmlhttp!=null)
{
if (/Firefox|Shiretoko/.test(navigator.userAgent)) {
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
}
xmlhttp.open("GET", url, true);
xmlhttp.onreadystatechange=function(){
if (xmlhttp.readyState != 4)
{
return;
}
if (xmlhttp.status === 200)
{
alert("ok!");
alert(xmlhttp.responseText);
}
else{
}
};
xmlhttp.send(null);
}
else
{
alert("Your browser does not support XMLHTTP.");
}
}
}
window.onload = function(){
var jsonUrl = '********************************************‘
loadXMLDoc(jsonUrl);
}
</script>
</head>
<body>
</body>
</html>