mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[test] Another testcase.
Only date must be displayed, without other tags.
This commit is contained in:
parent
0823d1b64e
commit
71174f6ddf
15
test/ecmascript/document_write4.html
Normal file
15
test/ecmascript/document_write4.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<script>
|
||||||
|
function a()
|
||||||
|
{
|
||||||
|
document.write(Date());
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body onload="a()">
|
||||||
|
<p>1</p>
|
||||||
|
<p>2</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user