hello,
i want to check the date in the form. so far it works fine. as soon i press on the submit button and enter a new date, it does not check the date again. what is the reason for that? i donĀ“t see any error in the console?
- <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<meta name="viewport" content="width=600 user-scalable=no" />
</head>
<body>
- <form method="post" name="form1" action="1indextest.php">
- <input type="number" name="Geburtsdatum" id="Geburtsdatum" value="" placeholder="Geburtsdatum dd.mm.jjjj" >
-
<button type="reset" data-theme="b" name="reset" value="submit-value" data-inline="true">Abbruch</button>
<button type="submit" data-theme="b" name="submit" formnovalidate="formnovalidate" data-inline="true" >Bestellen und weiteres Ticket</button>
<button type="submit" data-theme="b" name="submit" formnovalidate="formnovalidate" value="submit-value-fertig" data-inline="true" >Bestellen</button>
- </form>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script src="/inputmask.js" type="text/javascript"></script>
<script src="/jquery.inputmask.js" type="text/javascript"></script>
<script src="/inputmask.date.extensions.js" type="text/javascript"></script>
- <script type="text/javascript">
$(document).ready(function(){
$('#Geburtsdatum').inputmask("d.m.y",{ "placeholder": "tt.mm.jjjj", "clearIncomplete": "true" });
});
</script>
- </body>
</html>