Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<html>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
function onLoad() {
document.getElementById("input1").focus();
synthesizeKey("KEY_Tab");
synthesizeKey("KEY_Tab", {shiftKey: true});
synthesizeKey("KEY_Tab");
}
</script>
<body onload="onLoad()">
<input type="text" id="input1"></input>
<input type="text" id="input2"></input>
</body>
</html>