If I have a chat program which in the background keep listening to the network, when new data is coming, how do I notify the page to update? I don't want to reload the whole page.
For a normal html page, I can define an event in the js file like this
function update()
{
//do some update
}
then call this function. But in appery, I can only define the event code within one control object, or if I modify the .js file it's no longer sync to the IDE.