I have a bit of a complicated setup and therefore question. I have a PHP script that pulls data from a MySQL table, namely status of some sensors. I created some KineticJS HTML5 to graphically display sensor status from the MySQL table.
I want to have the data automatically refreshed, but I don't want to refresh the whole page, I just want to refresh the relevant elements within the KineticJS stage.
How do I reload the PHP page (to get a fresh read of the SQL data) without reloading the complete KineticJS stage and call a function that will only reload the elements that have changed?
Thanks