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

16 lines
273 B
HTML
Raw Normal View History

<html>
<body>
<a href="/home">BBB</a>
<b id="aaaa">bbb</b>
<a id="blabla" href="/">AAA</a>
<a id="bb" href="/">BB</a>
<script>
function aa()
{
window.alert(document.getElementById('blabla').id);
}
</script>
<button onclick="return aa()">Click me!</button>
</body>
</html>