summaryrefslogtreecommitdiffstats
path: root/dom/html/test/bug242709_iframe.html
blob: 1ee3320ae977ea13d5306a742b524d2b077a26f6 (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="bug242709_load.html" id="b">
<input type="submit" onclick="submitIframeForm()" id="thebutton">
</form>

</body>
</html>