js formフォーム送信データの2つの方法(post get)の違い
3527 ワード
<!DOCTYPE HTML>
<html>
<head>
<title>please enter your title</title>
<meta charset="utf-8">
<meta name="Author" content=" ">
<style type='text/css'> </style>
</head>
<body>
<form action="test.php" method="get">
:<input type="text" name='user' /> <br />
:<input type="password" name='pwd' /> <br />
<input type="radio" name='sex' /> <input type="radio" name='sex' /> <br />
<input type="submit" />
</form>
<!-- get : url ?name=value&name=value -->
<!-- post : url ( !) -->
</body>
</html>