PDA

View Full Version : how to refresh a html element in EXT



mxu
29 Jan 2008, 12:09 PM
how to refresh a html element in EXT ?

Condor
29 Jan 2008, 1:44 PM
What do you mean by refresh?

Do you want to update the content with static HTML?

Use:


Ext.get('id-of-element').update('new content');

Or did you want to load the content from a server?


Ext.get('id-of-element').load({url: 'url.html'});