I have consume data from API and that data will be displayed realtime in a table using socket io, where it has a data return in the form of an object, like this the examples :
"data": [
{
"name": "e7876319e4",
"status_waiter": "Ready"
},
{
"name": "e787631334",
"status_waiter": "Ready"
}
]
so I want to display that data in an html table, where if there is a change in the data the table must also change, and there I do the interval settings, then how do I do it?
I was tried use $('#status').append(data)
that is success but but it keeps the data adding even though there are no changes. Thanks in advice :)