Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript form value fade with JQuery

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29118
    lyleyboy
    Member

    Hi all,

    I know I have seen this somewhere but I can’t for the life of me find it. I know Chris has done it on this site somewhere but I can’t remember what it was called to search for it.

    All I’m looking to do is to provide a helpful value in a form field.
    i.e.

    Code:

    As the user clicks in the form field the value fades out leaveing an empty field.

    At the moment I can get the value to clear but if I try to fade out I end up fading the input rather than the value.

    Any help would be great, thanks.

    #76450
    lyleyboy
    Member

    Thanks for that. I’ll give that a try but I’d really like a JQuery version.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.