This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (50 loc) · 2.12 KB
/
Copy pathindex.html
File metadata and controls
53 lines (50 loc) · 2.12 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Demo jQuery Plugin Tagada</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="./jquery.tagada.css" type="text/css" />
<script type="text/javascript" src="./jquery-1.4.4.js"></script>
<script type="text/javascript" src="./jquery.tagada.js"></script>
<script type="text/javascript">
$(function() {
$('input.tagada').tagada();
$("#simpleform").submit(function(event) {
// key enter
// if (event.keyCode == '13')
// {
// event.preventDefault();
// }
return false;
});
})
</script>
</head>
<body>
<form action="index.html" name="simpleform" id="simpleform" method="POST">
<fieldset>
<legend>Add new post</legend>
<p>
<label for="title">Title</label><br/>
<input type="text" name="title" id="title" />
</p>
<p>
<label for="body">Body</label><br/>
<textarea name="body" id="body" rows="4" cols="20">
</textarea>
</p>
<p>
<label for="categories-tags">Category Tags</label><br />
<input type="text" name="categories_tags" id="categories-tags" value="" class="tagada"/>
<small>Type <kbd>[enter]</kbd>,<kbd>[tab]</kbd> or <kbd>[comma]</kbd> to add a tag</small>
</p>
<p>
<label for="tags">Regular Tags</label><br />
<input type="text" name="tags" id="tags" value="" class="tagada"/>
<small>Type <kbd>[enter]</kbd>,<kbd>[tab]</kbd> or <kbd>[comma]</kbd> to add a tag</small>
</p>
<input type="submit" name="simplesubmit">
</fieldset>
</form>
</body>
</html>