You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script language="JavaScript" src="/jquery/jquery.min.js"></script>
<link href="/css/style.css" type="text/css" rel="stylesheet" />
<link href="/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<script language="JavaScript" src="/bootstrap/js/bootstrap.min.js"></script>
<script language="JavaScript" src="/src-es6/AbstractSmartDatePart.js"></script>
<script language="JavaScript" src="/src-es6/SmartDateStaticPart.js"></script>
<script language="JavaScript" src="/src-es6/AbstractSmartDateNumericPart.js"></script>
<script language="JavaScript" src="/src-es6/SmartDateDayPart.js"></script>
<script language="JavaScript" src="/src-es6/SmartDateMonthPart.js"></script>
<script language="JavaScript" src="/src-es6/SmartDateYearPart.js"></script>
<script language="JavaScript" src="/src-es6/SmartDateParseState.js"></script>
<script language="JavaScript" src="/src-es6/SmartDateFormat.js"></script>
<script language="JavaScript" src="/src-es6/SmartDateField.js"></script>
</head>
<body>
<br/>
<br/>
123 <input type="text" id="date" value="1.3.2019"/>
<script language="JavaScript">
jQuery('#date').smartdate({
format: 'd.m.y',
minimal: '1900-01-01',
maximal: '2099-12-31',
//default: new Date(),
});
//jQuery('#date').setDateValue('2019-4-5');
</script>
</body>
</html>