-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
147 lines (134 loc) · 3.19 KB
/
index.php
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>jQuery SelectSearch plugin</title>
<style type="text/css">
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
body {
font-family: Helvetica;
padding: 40px;
background: #F9F9F9;
}
h1 {
font-size: 1.5em;
font-weight: 700;
border-bottom: 1px solid #ddd;
padding: 5px;
margin-bottom: 15px;
}
h2 {
font-size: 1.2em;
font-weight: 700;
border-bottom: 1px solid #eee;
padding: 5px;
margin-bottom: 8px;
}
p {
margin-bottom: 15px;
}
div {
padding: 10px;
}
.hover {
padding: 10px;
border: 1px solid #ddd;
background: #eee;
}
.message {
background: #F5FF92;
padding: 5px;
display: none;
}
.hide {
display: none;
font-size: 0!important;
color: #fff;
}
select {
padding: 3px;
margin-top: 10px;
height: 120px;
width: 250px;
}
label {
display: block;
}
label span { display: block; }
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js" type="text/javascript"></script>
<script src="selectSearch.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$('select').selectSearch();
});
</script>
</head>
<body>
<h1>search select</h1>
<form method="post">
<select multiple="multiple">
<option value="">abcdef</option>
<option value="">abc</option>
<option value="">abcd</option>
<option value="">abcde</option>
<option value="">e</option>
<option value="">f</option>
<option value="">g</option>
<option value="">Option (1)</option>
<option value="">hey hey ÆØøøÅÅ ((//34)</option>
<option value="">Random</option>
<option value="">Hello World</option>
<option value="">%&$#"!"%(</option>
<option value="">????</option>
<option value="">What are you doing?</option>
<option value="">WHAT HAVE YOU DOOOONE? WHHAAAAT HAAAAVE YOUUU DOOOOONE!</option>
</select>
<input type="submit" name="sent" value="send" />
</form>
</body>
</html>