<html>
<head>
<title>Using select() method of the FileUpload object</title>
</head>
<body>
<script language = "JavaScript">
<!--
function enterName(){
document.form1.uploadbox.select();
}
-->
</script>
<form name="form1">
<input type="file" name="uploadbox">
<br><br>
<input type="button" value="Go to Filename Box" onClick="enterName()">
</body>
</form>
</html>
|