neomorpheus
Programmer
I have a form which has 1.) a file upload field and 2.) a dropdown that lists diffrent file extensions.
Right now users have to use the file upload to select the file they want to upload AND in the dropdown list for file type/extensions need to pull the right file type. The code is so written, so changing the whole thing is out of question.
What i want now??
Once the file to be uploaded is selected, the path is displayed in the textbox. I want to be able to extract the file extension of the selected file and populate the dropdown below with the three character extension.
Can anybody help me with this??
Thanks
Right now users have to use the file upload to select the file they want to upload AND in the dropdown list for file type/extensions need to pull the right file type. The code is so written, so changing the whole thing is out of question.
What i want now??
Once the file to be uploaded is selected, the path is displayed in the textbox. I want to be able to extract the file extension of the selected file and populate the dropdown below with the three character extension.
Can anybody help me with this??
Thanks