blob: 890ff839ea68432ecd4bfcd9d13abe8176d30881 (
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 type="text/javascript" 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>
|