<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function open_file() {
window.location= 'file:///' + document.myform.sele.value;
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<form name=myform>
<input type=file name="sele">
<input type=button onClick="open_file()" value="ファイルを開く">
</form>
</BODY>
</HTML>
|