SAND-framework/public/assets/html5-simple-date-input-polyfill-master/test.html
2021-06-16 11:35:03 +02:00

28 lines
537 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="html5-simple-date-input-polyfill.css" />
</head>
<body>
normal:
<input type="date" />
with value:
<input type="date" value="2015-03-28" />
dynamically created:
<script>
setTimeout(function(){
var input = document.createElement("input");
input.type = "date";
document.body.appendChild(input);
}, 2000);
</script>
<script src="html5-simple-date-input-polyfill.min.js"></script>
</body>
</html>