Form JavaScript Tutorial

The focus() method sets the focus to the password box.


    
     Example of the password focus method