Script Categories

Forms >>> File Open.

This script allows someone to choose a file on their hard drive and open it.

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function whatFile() {
window.location= 'file:///' + document.form1.cmuds.value;
//  End -->
<form name=form1>
type=file name="cmuds">
type=button onClick="whatFile()" value="Open File">

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).