-2

I am trying to create a dropdown that automatically will provide a set of states based on a country, so you will have:

(United States)  -> filled with (Us States)
(Canada)         -> filled with (Provinces)
(etc.)

I need these to be the proper mailing address states. Does anyone know where I can get some JSON of this? Actually I dont mind any format, I just need some raw data.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
richsoni
  • 4,188
  • 8
  • 34
  • 47

1 Answers1

1

I think this has what you want:

http://www.commondatahub.com/live/geography/state_province_region/fips_states_codes

Jim
  • 1,056
  • 1
  • 13
  • 19