mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
18 lines
296 B
HTML
18 lines
296 B
HTML
<html>
|
|
<head>
|
|
|
|
<script>
|
|
|
|
function init()
|
|
{
|
|
var y = document.getElementById("tt");
|
|
var z = y.firstChild;
|
|
y.removeChild(z);
|
|
z.text;
|
|
}
|
|
|
|
window.addEventListener("load", init, false);
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="tt"><a href="http://www.mozilla.org">Foo</a></div>
|
|
|
|
</body>
|
|
</html>
|