I created two drop downs, where the second one dynamically updates according to first selection.
Now I jus have 2 members in first drop down and 20 in second drop down. I hard coded using javascript. But by the end of this year the number increases to 100’s, then we cannot hard code it.
I use html,javascript,jsp for the webpage.
Is there a way to populate the dropdowns with data in a text file where they can update the text file with new members.
Please help me out and make my situation better!!!
These are list of regions, bankers. Just Strings. There is no particular format for data. According to the solution I come up, they can provide the data in any required format.
Basically you can read in JSON data from any kind of external source, and parse it to actual data.
That way you can then loop through the array and then process it as actual data.