Problem with reloading page using table.ajax.reload()

Problem with reloading page using table.ajax.reload()

olafolaf Posts: 1Questions: 1Answers: 0

Hello, what i did was that i retrieved data from the server and put it into an array(objArray). What i want to do is that when calling onChange(), i want the table data to be different, I placed these 4 lines of codes under the function for onChange().

Code snippets are here,

https://jsfiddle.net/6fhbr5zq/1/

It shows that the table has no data and it comes out with a Warning:Invalid JSON response. How can i tweak my codes such that the table will refresh when the list changes?

This discussion has been closed.