It's not the sytax (I believe). But rather just the number of records I am trying to load into an array. The syntax is like the following:
var cci_records = new Array(
'995|AK|ANCHORAGE',
'996|AK|ANCHORAGE',
'997|AK|FAIRBANKS',
'998|AK|JUNEAU',
'999|AK|KETCHIKAN',
'362|AL|ANNISTON'...
I am trying to build a large array with over 2,000 records to populate a set of drop down lists. They will be used when a user selects a state, a related list of cities will populate a second drop down list dynamically. The problem is that I can't seem to get the 2000 cities into an array...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.