• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<title>post</title>
4<script>
5// stolen from darin's page cycler
6var options = location.search.substring(1).split('&');
7
8function getopt(name) {
9  var r = new RegExp("^" + name + "=");
10  for (i = 0; i < options.length; ++i) {
11    if (options[i].match(r)) {
12      return options[i].substring(name.length + 1);
13    }
14  }
15  return null;
16}
17
18function checkParams() {
19  document.title = "post:" + getopt("text") + "," + getopt("select");
20}
21checkParams();
22</script>
23</head>
24
25<body>
26Form submission accepted.  Thanks for playing.
27</body>
28</html>
29