English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to have an input button called Browse... when i click on it, i want that a dialog box should appear and i should be able to select a file from that dilog box. (i want those file types to be *.mp3, *.wav only). When i click on open, i want that the full path and name of the file(s) to be displayed in a textbox called txtFile.

I want to be able to select multiple files. Please tell what javascript or vbscript OR ANY OTHER SCRIPT code that i should enter to browse files.

Please help!!!!!!!!
Thank You! Your help will be really appreciated

2006-10-17 00:52:28 · 1 answers · asked by Lance 2 in Computers & Internet Programming & Design

1 answers

Not all of what you'd like to do is possible. Here's the code for your Browese... button:

ACTION="upload.asp"
ENCTYPE="multipart/form-data"
METHOD="post">




That will do nearly everything you want except there is no way in HTML to filter for only .mp3 or .wav like there is in VB.

2006-10-17 01:03:09 · answer #1 · answered by IT Pro 6 · 0 0

fedest.com, questions and answers