dom/jsurl/test/form-submit.html
author Michael Layzell <michael@thelayzells.com>
Thu, 02 Mar 2017 16:55:09 -0500
changeset 348695 c2b8ead5376b5f5a3689e4faef9d814c27189ab6
parent 202752 3795c155428def96670411744bf21e59ab141612
permissions -rw-r--r--
Bug 1337056 - Part 3: Send down http[s] and ftp permissions as they are needed. Send down other permissions at startup, r=baku MozReview-Commit-ID: CUKPvFp6zpF

<!DOCTYPE html>
<head>
<script>
  function test() {
    var form = document.getElementById("test");
    form.action = "pass.html";
    form.submit();
  }
</script>
<body>
<form id="test" action="javascript:test()">
<input type="submit" value="Submit the form; you should PASS when done">
</form>
</body>