onload="document.myform.userid.focus()"
Change myfrom with your form name and userid with your desire text box name
Example
< h t m l >
< b o d y onload="document.myform.userid.focus() " >
< form name="myform" method="" action="" >
User Id< input type="text" name="userid" size="20" >
Password< input type="password" name="password" size="20" >
< input type="submit" value="Submit" name="B1" >< input type="reset" value="Reset" name="B2" >
No comments:
Post a Comment