My Coding Tips

Thursday, June 30, 2016

How do I make a field autofocus?

<form action="demo_form.asp">
  First name: <input type="text" name="fname" autofocus><br>
  Last name: <input type="text" name="lname"><br>
  <input type="submit">
</form>
Posted by Unknown at 3:17 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2016 (26)
    • ►  August (1)
    • ►  July (5)
    • ▼  June (20)
      • How do I make a field autofocus?
      • How to expire page on back button click in browser?
      • To restart httpd , mysql and tomcat series:
      • code for inline search
      • How to reset dropdown list select ' dropdown' on '...
      • To find out the keyword in the node
      • If Else Condition for html tags
      • To disable copy paste for textbox
      • Ket Event Codes in javascript
      • how to check create table
      • How to redirect a website to mobile version:
      • to change the column name in a table:
      • Solution for reaching mysql:
      • To kill the mysql process
      • change the version number after changes done in t...
      • history of last committed of a file:
      • shutdown and startup
      • Remove logs:
      • Indexing:
      • mysql commands:
Picture Window theme. Powered by Blogger.