Something like so (IE only - others will see a normal fie input with a 'Browse' or 'Choose' button):
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#file1 {
display:none;
}
</style>
<!--[if IE]>
<style type="text/css">
#file1 {
display:block;
}
#file {
display:none;
}
</style>
<![endif]-->
</head>
<body>
<div id="file1">
File: <input id="filet" type="text" onclick="document.getElementById('finput').click();">
</div>
<div id="file">
<input id="finput" type="file" onchange="document.getElementById('filet').value=this.value;">
</div>
</body>
</html>
Bookmarks