esriConfig.defaults.io.proxyUrl = "/proxy";
esri.config.defaults.io.proxyUrl = "/arcgisserver/apis/javascript/proxy/proxy.ashx";
esriConfig.defaults.io.proxyUrl="";
esri.config.defaults.io.proxyUrl = 'proxy.jsp';
esri.config.defaults.io.proxyUrl = 'proxy.php';
According to the console, your syntax is wrong.
For example:
I recommend using tools like jshint and jslint combined with your browser's console and web-dev-tools to find these types of errors.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.