Hello,
I have written an ajax call:
$.ajax({
url:'summary_page_data',
type:'POST',
data:name={},
context: this,
dataType: 'json',
success:function(data_){
if(data_!= -1)
{
data=JSON.stringify(data_);
alert(data);
$('#write_table').append('<p>Summary:<br><br>[FORM TABLE HERE]</p>');
}
else
alert("outside")
}
});
In this "summary_page_data" i have written echo json_encode($skills);
SO it is returning array.
when i alert the return data,
it shows me [{"field_name":"Operating System","field_value":"Linux"},{"field_name":"Operating System","field_value":"Protocols"}]
Now i want to make an array of this return .
and print that array in table
But how to form an array of json return?