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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.