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

21 lines
312 B
HTML
Raw Normal View History

<html>
<head>
<script>
function cli()
{
document.location.href='http://www.elinks.cz';
}
function loader()
{
document.getElementById('c').addEventListener('click', cli);
}
</script>
</head>
<body onload="loader()">
<center>
<input type="button" id="c" value="ELinks homepage">
</center>
</body>
</html>