mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
22 lines
419 B
HTML
22 lines
419 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function cli()
|
||
|
{
|
||
|
alert("document.location.href='http://www.elinks.cz';");
|
||
|
}
|
||
|
|
||
|
function loader()
|
||
|
{
|
||
|
document.getElementById('c').addEventListener('click', function() { window.alert('aaaa'); });
|
||
|
document.getElementById('c').addEventListener('click', cli);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="loader()">
|
||
|
<center>
|
||
|
<button id="c" value="ELinks homepage">AAA</button>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|