Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var otherDoc = document.implementation.createDocument('', '', null);
input.setAttributeNS(null, "form", "x");
form.setAttributeNS(null, "id", "x");
input.appendChild(form);
otherDoc.appendChild(input);
}
</script>
</head>
<body onload="boom();"></body>
</html>