1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/test/ecmascript/hasAttributes.html

18 lines
348 B
HTML
Raw Normal View History

2021-05-08 13:55:58 -04:00
<html>
<body>
<a href="/home">BBB</a>
<b id="aaaa">bbb</b>
<a id="blabla" href="/" rel="nofollow">
<b>AAA</b><u id="ble">UUU</u>AAAAAAA
</a>
<a id="bb" href="/">BB</a>
<script>
function aa()
{
window.alert(document.getElementById('blabla').hasAttributes());
2021-05-08 13:55:58 -04:00
}
</script>
<button onclick="return aa()">blabla has attributes</button>
</body>
</html>