티스토리 뷰
- UI가 없지만 서버로 어떤 데이터를 전송해야 할 때 hidden을 사용합니다.
예제
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<form action="http://localhost/hidden.php">
<input type="text" name="id">
<input type="hidden" name="hide" value="egoing">
<input type="submit">
</form>
</body>
</html>
댓글