blob: c1cb4ff2e1db93bf556312a6265275dc13e8ffa4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<html>
<head>
<title></title>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script type="text/javascript">
function submitIframeForm () {
document.getElementById('b').submit();
document.getElementById('thebutton').disabled = true;
}
</script>
</head>
<body onload="sendMouseEvent({type:'click'}, 'thebutton')">
<form method="get" action="bug277890_load.html" id="b">
<button onclick="submitIframeForm()" id="thebutton">Submit</button>
</form>
</body>
</html>
|