File: test.html

package info (click to toggle)
libfcgi 2.4.5-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,296 kB
  • sloc: ansic: 4,946; java: 872; cpp: 292; makefile: 178; perl: 145; sh: 4
file content (52 lines) | stat: -rw-r--r-- 1,264 bytes parent folder | download | duplicates (3)
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>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script LANGUAGE="JavaScript">
<!--
function fix_action() 
{
    if (document.form.submit_uri.value.toString() == "")
	{
        alert("Enter a URI to submit too!");
        return(false);
    }
    else 
	{
        document.form.action = document.form.submit_uri.value;
    }
}
//-->
</script>

</head>

<body bgcolor="#FFFFFF" text="#000000">
<form name="form" method="post" action="" enctype="multipart/form-data" onSubmit="return fix_action()">
  <p>checkbox 
    <input type="checkbox" name="checkbox" value="checkbox">
  </p>
  <p>radio 
    <input type="radio" name="radio" value="on" checked>on 
    <input type="radio" name="radio" value="off">off</p>
  <p>menu 
    <select name="menu">
      <option value="1" selected>one</option>
      <option value="2">two</option>
      <option value="3">three</option>
      <option value="blah">blah</option>
    </select>
  </p>
  <p>file 
    <input type="file" name="file" size="80">
      <input type="hidden" name="hidden">
 </p>
  <hr>
  <p>URI to submit to 
    <input type="text" name="submit_uri" size="80">
    <input type="submit" name="submit" value="Submit">
  </p>
  </form>
</body>
</html>