Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<head>
<script type="text/javascript">
function boom()
{
var tr = document.getElementById("tr");
tr.contentEditable = "true";
tr.focus();
document.execCommand("selectAll", false, null);
}
</script>
</head>
<body onload="boom();"><tr id="tr"><td></td></tr></body>
</html>