mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 19:34:52 +00:00
added input masks
This commit is contained in:
34
vendor/Inputmask/index.html
vendored
Normal file
34
vendor/Inputmask/index.html
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<link href="css/inputmask.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<input id="test1" name="test1"/><br/>
|
||||
<input id="test2" name="test2"/><br/>
|
||||
<input id="test3" name="test3"/><br/>
|
||||
<br/>
|
||||
<script type="text/javascript" src="node_modules/jquery/dist/jquery.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="dist/jquery.inputmask.js" charset="utf-8"></script>
|
||||
<script>
|
||||
console.log(navigator.userAgent);
|
||||
$("#test1").inputmask("datetime", {
|
||||
inputFormat: "dd/mm/yyyy",
|
||||
outputFormat: "mm-yyyy-dd",
|
||||
inputEventOnly: true
|
||||
});
|
||||
$("#test2").inputmask("datetime", {
|
||||
inputFormat: "dd/mm/yyyy",
|
||||
outputFormat: "mm-yyyy-dd",
|
||||
inputEventOnly: true
|
||||
});
|
||||
$("#test3").inputmask("datetime", {
|
||||
inputFormat: "dd/mm/yyyy",
|
||||
outputFormat: "mm-yyyy-dd",
|
||||
inputEventOnly: true
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user