Your comments

This is perfect. This is exactly what I need!!! Thank you very much.
HI Hagashen the code i am trying to run is...

<html><head></head>
<html>
<body>
<h1>Dice Roll Example</h1>
<div id="dicediv"></div>

<script>
var xmlhttp = new XMLHttpRequest();
var url = "http://localhost:3142/services/My%20Category/Dice%20Roll.json?%3CDataList%3E%3C/DataList%3E&wid=28681805-a0df-4bea-8bdc-8afeca830454";
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
myFunction(xmlhttp.responseText);
}
}
xmlhttp.open("GET", url, true);
xmlhttp.send();

function myFunction(response) {
var arr = JSON.parse(response);
var i;
var out = "<table>";

for(i = 0; i < arr.length; i++) {
out += "<tr><td>" +
"Dice Roll =" +
"</td><td>" +
arr[i].DiceRoll +
"</td></tr>";
}
out += "</table>"
document.getElementById("dicediv").innerHTML = out;
}

</script>
</body>
</html>

When i enter ...
http://localhost:3142/services/My%20Category/Dice%20Roll.json?%3CDataList%3E%3C
into my browser i get the output file and i can view the json file itself but when i run all the
code above it doesnt show me anything except the h1 tag i.e. Dice Roll Example. I am
having this problem with another site i am building as well. It allows me to see json files in
same folder but when i try to call json files from local servers or external sites it doesnt display them.

Hi Grommit,

I am still working on it, still cant seem to open the json file.
Thank you for all the speedy replies i really appreciate it. I tried all the solutions but to no avail. I will keep working on this until it works. I am interseted in incorporating AngularJS with it but need to get this code to work first.
Thank for the Answer it is exactly what i am looking for, however when i run this code i dont get a result print out in the dicediv. When i enter http://localhost:3142/services/My%20Category/Dice%20Roll.json?%3CDataList%3E%3C/DataList%3E&wid=28681805-a0df-4bea-8bdc-8afeca830454 directly into the brower i do however get a json array print out which shows me that Warewolf is running and all is fine on Warewolf's side. Any idea why on why i dont get a print out in the dicediv?