forked from kbwood/datetimeentry
/
datetimeEntryBasic.html
28 lines (28 loc) · 1.32 KB
/
datetimeEntryBasic.html
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>jQuery Date/Time Entry</title>
<link type="text/css" href="jquery.datetimeentry.css" rel="stylesheet">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="jquery.datetimeentry.js"></script>
<script type="text/javascript">
$(function () {
$('#defaultEntry').datetimeEntry();
$('#dateEntry').datetimeEntry({datetimeFormat: 'O/D/Y'});
$('#timeEntry').datetimeEntry({datetimeFormat: 'H:Ma'});
});
</script>
</head>
<body>
<h1>jQuery Date/Time Entry Basics</h1>
<p>This page demonstrates the very basics of the
<a href="http://keith-wood.name/datetimeEntry.html">jQuery Date/Time Entry plugin</a>.
It contains the minimum requirements for using the plugin and
can be used as the basis for your own experimentation.</p>
<p>For more detail see the <a href="http://keith-wood.name/datetimeEntryRef.html">documentation reference</a> page.</p>
<p>Enter your date/time: <input type="text" id="defaultEntry" size="20"></p>
<p>Date only entry: <input type="text" id="dateEntry" size="10"></p>
<p>Time only entry: <input type="text" id="timeEntry" size="10"></p>
</body>
</html>