1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

JavaScript: Javascript - emptying textfields

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    3.33/5

JavaScript » Basics — over 8 years ago
This tutorial will show how you can empty textfields values when focused, and readd the default value when it's blurred using onFocus and onBlur.

Comments

avatarvisionmedia over 8 years ago

haha wtf .. this gets submitted and mine does not. This just shows how to improperly use javascript, do not inline any JavaScript that is a very bad practice

avatarultimatecoding over 8 years ago

lol dude, I can tell you; I've submitted lots of tutorials and a lot (which were much better than this one) got denied, even huge tutorials which I spend probbably more time on than you can immagine. So stop getting down other tutorials just to make you self feel better about yours... it's kiddy and sad.

Your Comment

You must be logged in to post a comment.