Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.759 kB
/// <reference path="../jquery/jquery.d.ts"/>
/// <reference path="jquery.watermark.d.ts"/>
$('#inputId').watermark('Required information');
$('#inputId').watermark('Required information', { className: 'myClassName' });
$('#inputId').watermark('Search', { useNative: false });
$.watermark.options.className = 'myClass';
$.watermark.options.useNative = false;
var myFunction;
$.watermark.options.useNative = myFunction;
$.watermark.options.hideBeforeUnload = false;
$.watermark.options = {
className: 'myClass',
useNative: false,
hideBeforeUnload: false
};
$.watermark.options.hideBeforeUnload = true;
$.watermark.show('input.optional');
$.watermark.hide('#myInput');
$.watermark.showAll();
$.watermark.hideAll();
Jump to Line
Something went wrong with that request. Please try again.