jQuery.Watermark 3.2.0

This simple-to-use jQuery plugin adds watermark capability to HTML input and textarea elements.

Install-Package jQuery.Watermark -Version 3.2.0
dotnet add package jQuery.Watermark --version 3.2.0
paket add jQuery.Watermark --version 3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Fixed Issue #24 (on submit, hide watermarks only in the form being submitted?) - The hideAll() function has been given an optional scope argument to support this enhancement.

      - Added new option - clearAllFormsOnSubmit - that when set to true will negate the effects of the new form submit enhancement, and will clear the watermarks within all forms upon the submission of any form on a page.

      - Fixed Issue #48 (Enhancement request - optionally leave some watermarks visible on form submit) - This issue is solved via the fix for Issue #24: Place any such elements outside of the form being submitted and they will not have their watermark removed upon submit. Not a perfect solution, but probably enough for the edge cases needing this.

      - Fixed Issue #62 (Enhancement - Multi Element apply, different text for each element using "placeholder" attribute) - Added a new option "textAttr" that can be used to pass the name of an attribute to get the watermark text from. When using the textAttr option, the watermark text string passed in the first argument is ignored; therefore the watermark function was changed to allow the options object to be the first/only argument passed if it includes the textAttr option.

      - Added new demo (Demo #8) to Demonstration page to test the new attribute-based watermark setting capability.

      - Updated Demonstration page to use the latest version of jQuery currently available (1.11.1), ensuring compatibility.

      - Updated copyright dates on all relevant files.

Version History

Version Downloads Last updated
3.2.0 (current version) 6,830 11/25/2014
3.1.4 9,307 10/11/2012