<head> | |
<script> | |
function test() | |
{ | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
document.all.input.value = "PASS" | |
if (window.layoutTestController) | |
document.getElementById('res').innerText = document.all.input.value; | |
} | |
</script> | |
</head> | |
<body onload="test();"> | |
<p>This tests setting inputs using document.all. If successful, the input should show PASS.<form> | |
<input name="input"> | |
<div id="res"></div> | |
</body> |