Hi,
I had a login page to enter the username and password named as "index.php". when i entered to that index.php page,my mouse focus should be pointed at the username textbox....
please help me...........
Hi,
I had a login page to enter the username and password named as "index.php". when i entered to that index.php page,my mouse focus should be pointed at the username textbox....
please help me...........
apply this at your body tag
<body onload="document.myform.username.focus()"; >
<form name="myform" >
<input type='text' name="username" value="" >
</form>
OR
simply set the
<input type='text' name="username" value="" tabindex='0'>
hi,
thanks a lot.Its working fine
<body onload="document.formname.txtboxname.focus()">
bye
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.