nextcloud-server.git/apps/files/js/search.js, branch v24.0.6 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/server https://source.dussan.org/nextcloud-server.git/atom?h=v24.0.6 2020-08-04T18:56:22+00:00 Remove outdated legacy search scripts 2020-08-04T18:56:22+00:00 John Molakvoæ (skjnldsv) skjnldsv@protonmail.com 2020-08-03T14:50:39+00:00 urn:sha1:6eced42b7a40f5b0ea0489244583219d0ee2e7af Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> lower minimum search length to 2 characters 2020-07-09T13:00:30+00:00 Robin Appelman robin@icewind.nl 2020-07-09T13:00:30+00:00 urn:sha1:68e87c72690aa79a92e0448849b77467a6481890 Signed-off-by: Robin Appelman <robin@icewind.nl> t/github_actions/github-actions-7574396d95'>dependabot/github_actions/github-actions-7574396d95 The official jQuery user interface library: https://github.com/jquery/jquery-uiwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker/min-max.html
blob: 155a6dab3862b7f249e0ae8f8a0dc51d45a35cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!doctype html>
<html lang="en">
<head>
	<title>jQuery UI Datepicker - Restrict date range</title>
	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
	<link type="text/css" href="../demos.css" rel="stylesheet" />
	<script type="text/javascript">
	$(function() {
		$("#datepicker").datepicker({minDate: -20, maxDate: '+1M +10D'});
	});
	</script>
</head>
<body>

<div class="demo">

<p>Date: <input type="text" id="datepicker"></p>

</div><!-- End demo -->

<div class="demo-description">

<p>Restrict the range of selectable dates with the <code>minDate</code> and <code>maxDate</code> options.  Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D').  For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.</p>

</div><!-- End demo-description -->

</body>
</html>