jQuery.Watermark
3.2.0
dotnet add package jQuery.Watermark --version 3.2.0
NuGet\Install-Package jQuery.Watermark -Version 3.2.0
<PackageReference Include="jQuery.Watermark" Version="3.2.0" />
paket add jQuery.Watermark --version 3.2.0
#r "nuget: jQuery.Watermark, 3.2.0"
// Install jQuery.Watermark as a Cake Addin #addin nuget:?package=jQuery.Watermark&version=3.2.0 // Install jQuery.Watermark as a Cake Tool #tool nuget:?package=jQuery.Watermark&version=3.2.0
This simple-to-use jQuery plugin adds watermark capability to HTML input and textarea elements.
Learn more about Target Frameworks and .NET Standard.
-
- jquery (>= 1.2.3)
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on jQuery.Watermark:
Repository | Stars |
---|---|
ChrisFulstow/NBlog
A lightweight blog engine built with ASP.NET MVC 3, Razor, jQuery and C#.
|
- 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.