file Input Element : Form File Input « Form Control « JavaScript DHTML






file Input Element

   

<html> 
<head> 

<title>FileUpload Object</title> 
</head> 
<body> 


<form method="POST" action="" enctype=""> 
File to be uploaded: 
<input type="file" size="40" name="fileToGo" /> 
<input type="button" value="View Value" onclick="alert(this.form.fileToGo.value)" /></p> 
</form> 
</body> 
</html> 

   
    
    
  








Related examples in the same category