dcooke89

Attr.specified is deprecated error

Discussion created by dcooke89 on Apr 22, 2014
Latest reply on Apr 23, 2014 by dcooke89
Hi all,

I am currently working on a JavaScript API that shows 4 categories using check-boxes. However when I refresh the page and inspect the element I get the following error:

Attr.specified is deprecated. Its value is always true. init.js:148

Resource interpreted as Script but transferred with MIME type text/plain: "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback". init.js:1046
n._attach init.js:1046
n init.js:1045
c.get init.js:1414
s init.js:786
e init.js:790
A init.js:796
d._load init.js:702
(anonymous function) init.js:173
l.constructor init.js:641
(anonymous function) init.js:104
(anonymous function) init.js:390
g.forEach init.js:223
p.setBasemap init.js:389
p.constructor init.js:1529
(anonymous function) init.js:104
(anonymous function) index.html:39
ga init.js:32
(anonymous function) init.js:32
ha init.js:32
ea init.js:32
s init.js:34
(anonymous function) init.js:39

Thank you for your help!

Dan

P.S.

I've included a attachment of the code I have in a .txt

Attachments

Outcomes