gecko-dev/dom/html/test/bug242709_iframe.html

21 строка
480 B
HTML

<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="bug242709_load.html" id="b">
<input type="submit" onclick="submitIframeForm()" id="thebutton">
</form>
</body>
</html>