appendValue : function(inputValue) {
var o = Ext.getDom('edit_erea'); //The text box to be inserted
o.focus();
var s = document.selection.createRange();//以先保存选区的方式用于在IE中实现插入
var value = inputValue;
if (document.selection) {//用于IE
s.text = value;
}
else {//用于FF
o.value = o.value.substr(0, o.selectionStart) + value + o.value.substr(o.selectionEnd);
}
},
?