Hi,
anyone help me......

I had a login page to enter the username and the password named as "index.php".when i entered to the index.php page,i want the mouse focus should be displayed in the textbox username.

Regards,
santhanalakshmi.

<Script>
function getFocus()
{
document.getElementById('ControlOFName').focus();
retunr;
}
</script>

Add this function on body onload event

Thanks,
Mahendra Vishwanath Billa
---------------------------------------------------------------
Please mark the thread as Solved if it satifies your requirements.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.