Hi,I need to read a xml file and show the values from the file in the drop down. when ever the xml file changes the drop down has to change dynamically. how can i open, read an xml file? and then populate the values from the file into the drop down in my DCT?
Hisorry i have missed some of the information last time. In my form i have two dropdowns. the first drop down contians say two values ( Orange and Red). When i choose Orange in the first drop down, i need to read the Orange.txt file which resides in the configuration folder and show the values from the text file in the drop down. when i choose Red in the first drop down i need to display the values from the red.txt file in the second drop down. I need to do this with the help of javascript.
HiCan you share that document?
hii do not have a data base in my present scenario. the files i need to open and read are under the same branch as my code is. In such a case can i use the datasource?