Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>node delete - reset selection - test</title>
</head>
<body>
<ul id="deleteChildren">
<li id="deleteManually">Delete me via the inspector</li>
<li id="selectedAfterDelete">This node is selected after manual delete</li>
<li id="deleteAutomatically">Delete me via javascript</li>
</ul>
<iframe id="deleteIframe" src="data:text/html,%3C!DOCTYPE%20html%3E%3Chtml%20lang%3D%22en%22%3E%3Cbody%3E%3Cp%20id%3D%22deleteInIframe%22%3EDelete my container iframe%3C%2Fp%3E%3C%2Fbody%3E%3C%2Fhtml%3E"></iframe>
<div id="deleteToMakeSingleTextNode">
1
<b id="deleteWithNonElement">Delete me and select the non-element node</b>
2
</div>
</body>
</html>