Hi, Using the arrays looks great for what I need to do too.But the data is hard coded and thus not as flexibleeg: you use var caCodeStr = "Canada,AB,BC,MB,NB,NL,NS,NT,NU,ON,PE,QC,SK,YT";If this data was in a relational database that I want to connect to One table with CountryID and CountryName and o...