manhcodedao / jquery-watermark

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

Can't add watermark for dynamic elements #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I got problem for elements dynamic created by JS, it can show in form with 
watermark, but when lost focus, watermark still there unless I remove it manuly.

Thanks
Peter

Original issue reported on code.google.com by psunb...@gmail.com on 3 Jan 2013 at 7:26

GoogleCodeExporter commented 8 years ago
The watermark is *supposed* to be visible when a control loses focus. Am I 
missing something here?

Original comment by t...@speednet.biz on 3 Jan 2013 at 1:26

GoogleCodeExporter commented 8 years ago
I am sorry, the problem is when it get focus not lost focus

Original comment by psunb...@gmail.com on 9 Jan 2013 at 7:45

GoogleCodeExporter commented 8 years ago
This has been covered many times. Native watermarks (placeholders) have that 
behavior.  If you don't like it, disable native watermarks.

Original comment by t...@speednet.biz on 9 Jan 2013 at 12:18