-
Notifications
You must be signed in to change notification settings - Fork 0
/
remove.html
52 lines (38 loc) · 1002 Bytes
/
remove.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
<html>
<head>
<title> LTB-Verwalter-Entfernen </title>
<script src="js/JQuery.js"></script> <!-- jQuery Core -->
</head>
<body>
<h1 align = "center">Entfernen...</h1>
<br>
<br>
<form>
<p align= center>
Typ:<br>
<select name="Typ">
<option value="main">Normal</option>
<option value="Spezial">Spezial</option>
<option value="Premium">Premium</option>
</select>
<br>
<br>
Nummer:<br>
<input type="text" name="nummer">
<br><br>
<input type="button" value="Entfernen!" onclick="loadWithoutTarget('remove.php')">
</p>
</form>
<script>
function loadWithoutTarget(adress) {
parameters = '?';
var typ = document.getElementsByName("Typ")[0];
parameters += 'Typ=' + typ.value;
var nummer = document.getElementsByName("nummer")[0];
parameters += '&nummer=' + nummer.value;
//alert(adress + parameters)
$.get(adress + parameters)
}
</script>
</body>
</html>