1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/tagName.html
Witold Filipczyk 63b07c01d8 [js] tagName
2021-05-04 16:06:50 +02:00

18 lines
350 B
HTML

<html>
<body>
<a href="/home">BBB</a>
<textarea cols="5" rows="10" id="aaaa">bbb</textarea>
<a id="blabla" href="/">
<b>AAA</b><u id="ble" title="test">UUU</u>AAAAAAA
</a>
<a id="bb" href="/">BB</a>
<script>
function aa()
{
alert(document.getElementById('aaaa').tagName);
}
</script>
<button onclick="return aa()">Click me!</button>
</body>
</html>