<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function performTest() | |
{ | |
var test = document.getElementById("test"); | |
DOM_deleteAllChildren(test); | |
Selection_set(test,0,test,0); | |
Lists_increaseIndent(); | |
showSelection(); | |
} | |
</script> | |
</head> | |
<body> | |
<ol> | |
<li><p>One</p></li> | |
<li><p>Two</p></li> | |
<li><p id="test"></p></li> | |
</ol> | |
</body> | |
</html> |