Sets or retrieves the text displayed in the control. Does not encode the html controls characters (<, >, ", &) - the text containing correct html markup will be displayed as html.
var value = obj.getControlText();
obj.setControlText(value);
obj.onControlTextChanging = function(value){...};
obj.onControlTextChanged = function(value){...};
obj.onControlTextError = function(value){...};
Input (textbox)
var obj = new AW.UI.Input;
obj.setControlText("Some text");
document.write(obj);
Button
var obj = new AW.UI.Button;
obj.setControlText("Search");
document.write(obj);
When some of the html controls characters (<
, >
, "
, &
) should appear as text - convert them into html entity codes (<
, >
, "
, &
).