This commit is contained in:
skidoodle 2023-10-30 00:09:19 +01:00
parent 820c44d377
commit 1b0c377fd0
2 changed files with 16 additions and 27 deletions

View file

@ -4,21 +4,15 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TAJ Validator</title>
<script src="script.js"></script>
<script src="script.js" async></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>TAJ Validator</h1>
<form>
<input
type="text"
id="taj"
oninput="restrictInput(this, 'number')"
maxlength="9"
required
/>
<button type="button" onclick="checkTAJ()">Ellenőrzés</button>
<input type="text" id="taj" oninput="restrictInput(this, 'number')" />
<button type="submit" onclick="checkTAJ()">Ellenőrzés</button>
</form>
<p id="result"></p>