Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var i = document.getElementById("i");
i.setAttribute("type", "button");
i.removeAttribute("type");
}
</script>
</head>
<body onload="boom();"><input id="i"></body>
</html>