The input can set the placeholder, but if the user focus on that input , the place holder is disappear, how can I dismiss the placeholder, util the user start type at less one char?? Thank you.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not with the default behavior. However, You could it do by adding some JS into the mix
Live fiddle : http://jsfiddle.net/jomanlk/gPBhX/
Note : There’s a limitation where if a user pastes some text into the box it won’t clear, but you could easily fix that by binding to the change event as well. This is just a demo