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 строки
304 B
HTML
Исходник Обычный вид История

2007-04-02 07:04:58 +04: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>