Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<head>
<script type="text/javascript">
<![CDATA[
function boom()
{
document.body.setAttribute("contenteditable", "true");
document.execCommand("selectAll", false, null);
}
]]>
</script>
</head>
<body onload="boom();"><textarea><span/></textarea></body>
</html>