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

content / test / data / session_history / post.html [blame]

<html>
<head>
<title>post</title>
<script>
// stolen from darin's page cycler
var options = location.search.substring(1).split('&');

function getopt(name) {
  var r = new RegExp("^" + name + "=");
  for (i = 0; i < options.length; ++i) {
    if (options[i].match(r)) {
      return options[i].substring(name.length + 1);
    }
  }
  return null;
}

function checkParams() {
  document.title = "post:" + getopt("text") + "," + getopt("select");
}
checkParams();
</script>
</head>

<body>
Form submission accepted.  Thanks for playing.
</body>
</html>