?
Solved

jQuery Input Text Background Value e.g. "Username" On Click Disappear and User Value Can Be Entered

Posted on 2011-10-16
2
Medium Priority
?
352 Views
Last Modified: 2012-05-12
Hi Experts,

Thanks for reading. I'm looking for a solution to my text fields via jQuery similar to Twitter.com's login form with the username and password fields. When you click on the username field, styles change, and the username text is still there, but when a value is entered from the user, the background text disappears, and if all text is deleted, username reappears. Is this a plug-in? How I do this with a textarea, too?

Thanks!
0
Comment
Question by:SevenAteAnthony
2 Comments
 
LVL 83

Accepted Solution

by:
leakim971 earned 2000 total points
ID: 36977362
0
 
LVL 1

Author Closing Comment

by:SevenAteAnthony
ID: 36977381
Thanks!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question