AnsweredAssumed Answered

ReferenceError: event is not defined

Question asked by jpilbeam on Dec 27, 2018
Latest reply on Dec 28, 2018 by NSager-esristaff

Will County Attractions 

 

I have an app that works as it should in Chrome and IE. In FireFox it doesn't.

The error in the console is pointing to a specific line (line 2:15 here) of the html:

        attTypeSelect.addEventListener("change", function () {
          var type = event.target.value;
          setattractionsDefinitionExpression(type);
        });

 

Here's what is (or isn't) happening:

When you choose a Type from the dropdown menu it will not populate on the map. 

Outcomes