There is a jsp-page, I pass on a list of countries to select, each country has a list of cities, which is in my database as a separate table. How to make that when choosing and changing the country - the city’s position has been updated and not selected?
Is the correct solution to load the list of countries from the database or is it ok to hard-code all 300 countries in html code?
I do not know js, but I think that if without it in any way, I will deal with the code. Thanks for the help.