一、easyUI中的linkbutton改变属性的方法:
$('#fullscreen').linkbutton({
text: '退出全屏',
iconCls: 'icon-remove'
});
不能用这种方法来改变文本:
$('#fullscreen').text(“全屏模式”);
$('#fullscreen').iconCls('icon-remove');
,这样赋值会丢掉图标
二、easyUI中的linkbutton取文本的方法:$(’#fullscreen’).text()