Building a form with JSON and Ajax

Building a form with JSON and Ajax

Hi,

Looking at this example, I managed to create a drop-down menu which gets its content from a JSON file:


However, I'm sure there is a better way to achieve this. 

Could you please show me how would you solve this?

Thank you