Thread: Arrg
View Single Post
  #3  
Old 05-16-2005, 07:30 AM
atholon is offline atholon
"ath-hole"

Join Date: Jan 2003
Location: Failville.
Posts: 11,357

Send a message via MSN to atholon
Code:
<html>
<body>

<form method="POST" enctype="multipart/form-data"> 
  <input type="file" name="myfile" style="display:none" onchange="fileName=this.value">  
  <input type="button" value="open file" onclick="myfile.click()"> 
  <input type="button" value="show value" onclick="alert(fileName)">
</form>

</body>
</html>
That looks like the simplest way.
__________________
Reply With Quote