DIR : /home/kozerus/public_html/go/eidogo/tourney/onclick1.html
/home/kozerus/public_html/go/eidogo/tourney
<html>
<head>
<title>onclick.html 20250510_1615</title>
</head>
<body bgcolor=linen>
<h1>onclick test</h1>
<div id=div_onclick>
<a href=id1 onclick="readfile('id1'); return false;"> id1</a><br>
<a href=id2 onclick="readfile('id2'); return false;"> id2</a><br>
<a href=id3 onclick="readfile('id3'); return false;"> id3</a><br>
<a href=id4 onclick="readfile('id4'); return false;"> id4</a><br>
</div id=div_onclick_end>
<script id=script_readfile>
function readfile(id) {
var reader = new FileReader();
// var result = document.getElementById("result");
// reader.onload = function(event) {
// result.innerHTML = event.target.result;
// };
reader.readAsText(id);
}
</script id=script_readfile_end>
</body>
</html>
//