Home / Software / Tips and Tricks / How to focus on a HTML text box using Javascript?

How to focus on a HTML text box using Javascript?

Updated:  10/06/2011 12:10 PM
Author:  Shiju Mathews

Status:    Resolved.


Create a Javascript function to access and set focus on the textbox and call the function from the HTML element (on 'href' of links or 'onload' of an image etc...)