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

21 строка
505 B
HTML

<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>