gecko-dev/dom/jsurl/test/form-submit.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
304 B
HTML
Raw Normal View History

2007-04-02 03:04:58 +00:00
<!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>