Select to view content in your preferred language

JavaScript Functions Not Working

718
3
10-02-2013 05:57 AM
MichaelGlassman2
Deactivated User
I have been working with an HTML file for some time that creates a web application. Yesterday several of the functions stopped working (Routing, Popup Windows, and Horizontal Slider that shifts between shapefiles and imagery). I tried using an old HTML file to see if I had entered a bad line of code in my new file but the functions did not work in the older file either. Is anyone else having an issue like this?
0 Kudos
3 Replies
JonathanUihlein
Esri Regular Contributor
Unfortunately, this issue you are describing is very vague and it is hard to tell what could be wrong.
If you don't mind, could you recreate your issue with code in a http://jsfiddle.net/ so we can take a look?
0 Kudos
JeffPace
MVP Alum
this seems to be a common problem.  More than likely you added some requires and now your require declarations and function names dont line up properly.
0 Kudos
TracySchloss
Honored Contributor
I found this site useful, maybe something in this list will help:
http://www.sitepen.com/blog/2012/10/31/debugging-dojo-common-error-messages/
0 Kudos