-
Notifications
You must be signed in to change notification settings - Fork 59
/
test.html
executable file
·58 lines (57 loc) · 1.33 KB
/
test.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
<script type='text/javascript'
src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js'></script>
<script type='text/javascript'>
$(function() {
var m = $('#method');
m.on('change', function() {
$('#form').attr('method', m.val());
});
});
</script>
<style type='text/css'>
tr {
vertical-align: top
}
</style>
</head>
<body>
<h1>svgtex tester</h1>
<form id='form' method='GET' action='/'>
<table>
<tr>
<td>method</td>
<td>
<select id='method'>
<option value='GET' selected='selected'>GET</option>
<option value='POST'>POST</option>
</select>
</td>
</tr>
<tr>
<td>type</td>
<td>
<select name='type'>
<option value='tex'>tex</option>
<option value='mml'>mml</option>
</select>
</td>
</tr>
<tr>
<td>q</td>
<td>
<textarea name='q' rows='20' cols='100'></textarea>
</td>
</tr>
<tr>
<td>width</td>
<td>
<input type='text' name='width'/>
</td>
</tr>
</table>
<input type='submit'/>
</form>
</body>
</html>