1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/test/ecmascript/tagName.html

18 lines
357 B
HTML
Raw Normal View History

2021-05-04 10:06:50 -04:00
<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()
{
2021-11-10 11:33:59 -05:00
window.alert(document.getElementById('aaaa').tagName);
2021-05-04 10:06:50 -04:00
}
</script>
<button onclick="return aa()">Click me!</button>
</body>
</html>