Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<input type="button"/>
<script>
window.onload = function () {
document.designMode = "on";
}
var input = document.getElementsByTagName("input")[0];
input.focus();
input.type = "text";
</script>
</body>
</html>