mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
399 B
HTML
24 lines
399 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function doit() {
|
||
|
var target = document.getElementById("target");
|
||
|
target.parentNode.removeChild(target);
|
||
|
}
|
||
|
</script>
|
||
|
<style>
|
||
|
body > span { border: 3px solid blue }
|
||
|
</style>
|
||
|
</head>
|
||
|
<body onload='doit()'>
|
||
|
<span>
|
||
|
One
|
||
|
<div>Two</div>
|
||
|
Three
|
||
|
<div id="target">Five</div>
|
||
|
Four
|
||
|
</span>
|
||
|
</body>
|
||
|
</html>
|