tenfourfox/dom/html/test/bug242709_iframe.html

21 lines
503 B
HTML
Raw Normal View History

2017-04-19 07:56:45 +00:00
<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>