www.webdeveloper.com
Results 1 to 5 of 5

Thread: Clearing input boxes

  1. #1
    Join Date
    Jan 2009
    Posts
    2

    Clearing input boxes

    Hi,

    I have no Javascript background whatsoever, but I need to find a way to use it to automatically clear a text field when a user clicks in it. http://www.socialfluency.com ... In the top Right, these fields need to be grayed out, and disappear when you click in the field.

    Can anyone give me detailed help?

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    The linked page contains an error.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    May 2007
    Posts
    16
    try this onfocus="if(this.value!='') this.value='';" on the input box or text field. hope it will help you

  4. #4
    Join Date
    Jan 2009
    Posts
    2

    Wrong Link


  5. #5
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    these fields need to be grayed out, and disappear when you click in the field
    The fields need to disappear?
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles