在Ext中怎样将textarea中的html代码生效

2025-05-14 10:27:36
推荐回答(2个)
回答1:

在定义textarea时,这样定义
{

fieldLabel : '备注 ',
xtype : 'textarea',
name : 'BZ',
width : 680,
value : '谢谢',
style : 'color:red;'
}

回答2:

在它下面放个DIV,就可以了。
其实不一定要TextErea的