#1068 Refresh Label in Javascript?

lbertrand Thu 8 Apr 2010

I am experimenting with FWT/Javascript... I display some labels and a button in my web page... When I click on the button, I am doing an Ajax request to the server and using the response to change the text associated to the labels... But the page in the browser is not updated?

What should I call so that the label text are refreshed when set in my response handler?

andy Thu 8 Apr 2010

Just call repaint or relayout.

lbertrand Thu 8 Apr 2010

Thanks. relayout has done it.

Login or Signup to reply.