:: Forum >>

Setting focus to the Active widgets Control

How can i set the focus to Active widgets Control elements

Suresh
Tuesday, April 4, 2006
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)
Tuesday, April 4, 2006

This topic is archived.


Back to support forum

Forum search