WordPress.org

Ready to get started?Download WordPress

Forums

Clear Default Text on Mouse Click (1 post)

  1. flashbuddy
    Member
    Posted 2 years ago #

    Using default text in input fields as labels:

    http://sanctumbrighton.com.au/mail-test/

    Is there a method I could employ to have the default text clear when a user click inside the text input?

    Perhaps something along these lines (html 5):

    placeholder="my input value"

    or the traditional:

    onclick="this.value='';"

Topic Closed

This topic has been closed to new replies.

About this Topic