Click here to set focus in text box.
Here is the code:
<form action="" method="post" name="twdform"> <input type="radio" name="radiobutton" value="radiobutton" onClick="self.focus();document.twdform.fname.focus()">Click here to set focus in text box. <br> <br> <input type="text" name="fname" value="Name"> <input type="submit" name="Submit" value="Submit"> </form>