:: Forum >> Version 2 >>

Setting focus to the Active widgets Control

More information on this topic is available in the documentation section: /aw.ui.combo/.

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 /aw.ui.combo/

Documentation:

Forum search