qualcentric-web-solutions / jquery-watermark

Automatically exported from code.google.com/p/jquery-watermark
0 stars 0 forks source link

Add configuration option to make watermark disappear either upon (i) typing or (ii) focus (which it does currently) #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

It would be nice to have a configuration option so that the watermark 
disappears when the user *fills* the field - rather than simply 
focussing/clicking on it.  This would allow an empty field to have focus *with* 
a watermark, so you know what's required with the cursor waiting for you to 
type.

Original issue reported on code.google.com by andrew.m...@gmail.com on 26 Feb 2013 at 2:01

GoogleCodeExporter commented 8 years ago
Sorry, it's not possible using the current method employed.  The watermark 
would have to be constructed as an overlay element, not as text within the 
input element itself.  An overlay is purposely not used for a variety of 
reasons, so for older browsers that don't support native placeholders, this 
plugin will always use the type of watermark that disappears upon focus.

Original comment by t...@speednet.biz on 26 Feb 2013 at 2:36

GoogleCodeExporter commented 8 years ago
OK.

In any case, thanks for your consideration and speedy reply.

Original comment by andrew.m...@gmail.com on 26 Feb 2013 at 2:50