У меня есть table.html, data.php и json.csv в одной папке.
data.php делает fopen("json.csv","r")
для чтения из json.csv.
Как я могу отобразить объекты json в виде таблицы в table.html?
<html>
<head>
<script type="text/javascript" src="jquery.js">
function display(){
$.post('data.php',function(data){
$("#txtJSON").html(data);
});
}
</script>
</head>
<body onload="display()">
<table id="#jobtable">
<input type="text" id="txtJSON" />
</table>
</body>
</html>