Returning text entered into a TextEntryButton
I can't read the text entered into a TextEntryButton
I try:
this.controls.acontrol = new KONtx.control.TextEntryButton({
label : "type text",
id: "acontrolID",
defaultValue: "defaul value",
styles: {
vOffset: 0
},
events: {
onSubmit: function(event) {
log(this.owner.controls.acontrol.text);
}
}
}).appendTo(this);
But it shows 'undefined'.
Please help.
Raul
----
by
2 Replies