TextAreaInput. This element is made correctly ?
AW.UI.TextAreaInput = AW.System.Control.subclass();
AW.UI.TextAreaInput.create = function(){
var obj=this.prototype;
obj.setTag("textarea");
obj.setClass("textarea","box");
obj.setEvent("oncontextmenu","event.cancelBubble=true");
obj.setEvent("onselectstart","event.cancelBubble=true");
obj.setEvent("onkeyup", function(){
var id=this.getId();
var e=$(id).innerHTML;
return this.setContent("text",e);
this.refresh()
});
}
Valeri
March 2,