3.2.0

Setting focus to the Active widgets Control

How can i set the focus to Active widgets Control elements

Suresh
April 4,
You can use obj.element().focus();

var obj = new AW.UI.Input;
    obj.setControlText("text");
    document.write(obj);


    var button = new AW.UI.Button;
    button.setControlText("Set focus to Input");
    document.write(button);

    button.onControlClicked = function(){
        obj.element().focus();
    }
Alex (ActiveWidgets)
April 4,

This topic is archived.

See also:


Back to support forum