Javascript Methods JavaScript Reference

Note:
Changes an element's status to active, giving it the focus.
    
Syntax:
    
document.all.elementID.setActive()