The code which i have put as a sample is working fine in IE
thats not what i want to happen
I want the input type=file to not be seen , only another button performing the function of the browse
Which means when i click the button(not the browse button of the input tupe=file) a popup should open asking me to select a file
Main Topics
Browse All Topics





by: REA_ANDREWPosted on 2006-02-09 at 01:03:07ID: 15910799
try this
rowse.valu e);
<head>
<script type="text/javascript">
function showfilevalue() {
alert(document.forminput.b
}
</script>
<title>New Page 1</title>
</head>
<body>
<form name="forminput">
<input type=file value="Select File" name="browse">
<input type=button value="Show Filename" onclick="showfilevalue()">
</form>
</body>