<!DOCTYPE html>
<html lang="ja">

<head>
	<meta charset="UTF-8">
	<title<%=title %>
		</title>
		<link rel="stylesheet" href="/styles.css">
		<script src="/script.js"></script>
</head>

<body>
	<h1>
		<%=title %>
	</h1>
	<div class="container">
		<div class="card">
			<p class="title">
				<%=message %>
			</p>
			<input type="number" id="id" name="id" onchange="dochange(this.value)">
			<table>
				<tbody id="row">
					<tr>
						<td colspan="3">wait...</td>
					</tr>
				</tbody>
			</table>
		</div>
		<script>
			function dochange(id) {
				const rows = document.querySelector('#row');
				showPersonalDataById(rows, id);
			}
		</script>
</body>

</html>