-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
22 lines (21 loc) · 889 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<script type="text/javascript" src="ajax_form.js"></script>
</head>
<body>
<form action="process.php" id="ajax_form">
<!-- f -->
<!-- f -->
Username:<input type="text" name="username"/><br>
Password:<input type="password" name="password"/><br>
Gender:<input type="radio" name="gender" value="male"/>Male
<input type="radio" name="gender" value="female"/>Female<br>
Interest:<input type="checkbox" name="interest[]" value="programing"/>Programing
<input type="checkbox" name="interest[]" value="game"/>Game
<input type="checkbox" name="interest[]" value="sport"/>Sport
<textarea name="message"></textarea>
<input type="button" onclick="submitForm('ajax_form', 'tip')" value="Submit">
</form>
<div id="tip"></div>
</body>
</html>