1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-07 04:53:37 -04:00
elinks/test/ecmascript/inlinescript.html
Petr Baudis 0f6d4310ad Initial commit of the HEAD branch of the ELinks CVS repository, as of
Thu Sep 15 15:57:07 CEST 2005. The previous history can be added to this
by grafting.
2005-09-15 15:58:31 +02:00

16 lines
376 B
HTML

<script>
<!-- hahaha
function foo() { document.title += 'hahahaha'; }
//-->
</script>
<script type="text/javascript">
function nice_href() { return 'elinks.or.cz'; }
document.title = document.url + ' xyzzy ';
</script>
<script type="text/perl">
document.title += ' ERROR ERROR ';
</script>
<body onLoad=foo()>
<p><a href="javascript:nice_href(0);">Quee</a></p>
</body>