|
2 quick programming questions
I have a site with a login form. Its just a user name and password to log in.
1. How do I set the focus of the cursor on the username?
So when the page loads the cursor goes right in the username text box?
2. How do I have the form pre filled with the members username and password from last time?
So when they come to my site the curser is in the box, the username and password are already intered, and all they need to do is hit "enter" and they log in?
Do I need a cookie? I have no idea how to make a cookie.
|