[Solved] Javascript: Can’t get an on-click event to search through an array


Jim’s answer would be the right way to go unless for any reason you can’t modify that code, otherwise:

$.each(Analytic_Event, function(key, item) {
   // do whatever with item 
});

if you really have to anyways

1

solved Javascript: Can’t get an on-click event to search through an array