-
Notifications
You must be signed in to change notification settings - Fork 37
/
form.html
35 lines (33 loc) · 1.21 KB
/
form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.json.js"></script>
<script type="text/javascript" src="js/jquery.formserialize.js"></script>
<script type="text/javascript" src="js/test.js"></script>
<link rel="stylesheet" type="text/css" href="js/blocks.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<h1>Blocks demo</h1>
<form>
Text:
<input type="text" name="textValue" /><br />
Checkbox:
<input type="checkbox" name="check" /><br />
Select:
<select name="values">
<option value="1">Opt 1</option>
<option value="2">Opt 2</option>
<option value="3">Opt 3</option>
</select><br />
Text:
<textarea name="text"></textarea><br />
Array:
<input type="text" name="arr[]" />
<input type="text" name="arr[]" />
<input type="text" name="arr[]" />
</form>
<a href="#" class="serialize">Serialize</a>
</body>
</html>