PDA

View Full Version : How to dynamicly set html attribute of a container



freezq
21 Sep 2010, 12:49 AM
i didn't find any property or method which can modify the html attribute, if i need to modify the html attribute according to some text responsed from the server,how can i do that?

Thanks!

StuartAshworth
21 Sep 2010, 1:37 AM
The "update" method allows you to update the html in a component.

http://dev.sencha.com/deploy/dev/docs/output/Ext.Component.html#update

Animal
21 Sep 2010, 1:52 AM
But it's not generally a good idea.