A simple problem with a simple solution, I suppose. I have researced it but do not quite understand it.
Problem: I have a very nice script for a dropdown that displays country names and the associated flags for each country within a form. This works very well, but...
Examples of this code show all country/country codes embedded directly into the HTML page. While this works, it may be difficult to manage, it is too long and honestly, plain ugly.
I want to create a .txt file of the country names/country codes that lives on my server and can be called from within the HTML page. Clean.
I have read this is advised against (I do not understand why) - It is simple isolation of text to be called. How can that pose a problem or a risk?
Thank you in advance for all help!