[Solved] Javascript error message ‘Uncaught SyntaxError: Unexpected token (‘ [closed]


You’re missing a closing brace to close this else block…

  else {
    _gaq.push(['_trackEvent', 'Modals', 'skipped', $(this).attr('name')]);
});

This is how it should be…

  else {
    _gaq.push(['_trackEvent', 'Modals', 'skipped', $(this).attr('name')]);
  }
});

solved Javascript error message ‘Uncaught SyntaxError: Unexpected token (‘ [closed]