Hi..
I am trying to create a perl-cgi script to make a upload page such that when the user select a file using the "Browse" button, the filename will appear on another textbox.
i understand that will need to include the following in the upload form..
<input type="file" name="datafile" id="datafile" size="40" onchange="javascript: checkfilename();">
i got no idea how to get the filename.. i know that i can do that using ActiveXObject but i dun want to use that option. I want it to be able to be used in ie and mozilla... window or linux os.
Anybody got any idea?