Added by Geoff Sauer on Oct 02, 2008.
Average rating: 3.00/5.00 (n=1)
 


Few people will argue against the need to explain to users what they are supposed to enter into text input fields. One common workaround when no label can be displayed is to put some placeholder text in the text field and let that act as the label.This approach works reasonably well, but it burdens the user with having to clear the input before entering their own text, which can lead to frustration and mistakes. An approach that avoids that is using JavaScript to clear the input when it receives focus. Since that won’t work when JavaScript support is missing, JavaScript should be used to insert the placeholder text as well.
 
  View all 39 works by Johansson, Roger  
  View all 43 works published by 456 Berea Street  

Please share your rating/opinion of "Autopopulating Text Input Fields with JavaScript".
 PoorExcellent 
The link to this work seems to be broken.

Copyright © 2001-09 by the EServer. All rights reserved.Add a Work | Update this Work | Discussion Forum | Habitués