kolfer,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script>
window.addEventListener("DOMContentLoaded", function() {
var result = [{Name: "a", Surname : "aa"},{Name: "b", Surname : "bb"},{Name: "d", Surname : "dd"}];
function tableCreate(result) {
var body = document.getElementsByTagName("body")[0];
var tbl = document.createElement("table");
for (var j = 0; j < result.length; j++) {
var row = document.createElement("tr");
var cell = document.createElement("td");
var cellText = document.createTextNode(result[j].Name);
cell.appendChild(cellText);
row.appendChild(cell);
tbl.appendChild(row);
}
body.appendChild(tbl);
tbl.setAttribute("border", "2");
}
tableCreate(result);
});
</script>
</head>
<body>
</body>
</html>