Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have found useful tool here (All US States and counties on combo-box) its using Java script API 1.3 version.

I have downloaded the tool and trying use but its gives an store error (using version 3.1) but when I change the version to 2.8 its working how do I implement it for 3.1 version.

Is there any document or instructions ?? (Because Esri mentions that only upgrade the version no. ex. 2.8 to 3.1 )..

Software that I am using is ArcGIS Java Script API ver 3.0 & ArcGIS Server 10.1,Desktop 10.1

share|improve this question

2 Answers 2

up vote 3 down vote accepted

At ESRI 3.0 the dojo version behind the ESRI framework was upgraded to 1.7. Dojo 1.7 has a fundamental change to the way in which modules are loaded called AMD. See this help topic for advice on migrating to AMD and the 3.0 release notes. You look should at these topics in order to understand what changed between the two versions

When I created a fiddle for your previous question I initially created it using version 3, but as you specifically requested the code in 2.8 I changed it. Here is the one I created using ESRI version 3.2 (and therefore dojo version 1.7), notice the differences in how the modules are required (no more dojo.require). Whilst there is some backwards compatibility, it is highly recommeneded you move to the new model as at dojo 2.0 backwards compatibility will not be supported (i.e anywhere you use dojo.)

share|improve this answer
thanks for your reply.. – Sunil Dec 4 '12 at 2:57
@David..thanks for your detail information ..I followed your links & its almost resolved..I like you explanation (very easy and to the point)...thanks a lot : ) – Sunil Dec 4 '12 at 9:31

In the tool you've downloaded, try replacing any uses of with dijit.form.ItemFileReadStore to store the state and county data. Data on ItemFileReadStore can be found here.

share|improve this answer
thanks..I will check and let you know.. thanks : ) – Sunil Nov 30 '12 at 17:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.