i want to make a two drop down lists. the first list has static data( folder structure), so i can use an array for it,and depending on the folder or option selected in the first list, the second list shows the sub-folders in it. but the sub-folders keeps on changing, so i have to use asp fso for it. i am using the following fso code:
<%@ Language=VBScript ENABLESESSIONSTATE = False%>
<%
Dim fso, folder, files
Set fso=Server.CreateObject("Scripting.FileSystemObject")
Set folder=fso.GetFolder("D:\")
Set files=folder.SubFolders
For each folderIdx In files
Response.Write("<option>" + folderIdx.Name + "</option>")
Next
%>
i dont know how to make such a dependent list. any help is really appreciated. and i am sorry for the formatting issue