app: checkmark bij datumkiezer
This commit is contained in:
@@ -74,7 +74,8 @@
|
||||
|
||||
<div class="option" id="week">
|
||||
week:
|
||||
<input type="date" id="fDate" name="date" step="7" />
|
||||
<input type="date" id="fDate" name="date" step="7" /><span
|
||||
class="validity"></span>
|
||||
</div>
|
||||
|
||||
<button type="button" onclick="kies()" id="fSubmit" disabled>
|
||||
|
||||
@@ -167,3 +167,11 @@ tr.last td {
|
||||
tr.first td {
|
||||
padding-top: 0.5em;
|
||||
}
|
||||
|
||||
#fDate:invalid + span::after {
|
||||
content: ' ✖';
|
||||
}
|
||||
|
||||
#fDate:valid + span::after {
|
||||
content: ' ✓';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user