I have a website that runs on WordPress. The site uses several JavaScript components. Most notably the slides on the homepage, the schedule, and the contact form. All of the features work as expected in Chrome, Firefox, and other good browsers, but not in IE.
All of these features break due to problems that show up in the JavaScript. I have included several samples of what is happening below:
Error in IE Debug Console: "SCRIPT1006: Expected: ')' - modernizr.foundation.js?ver=3.4.2, line 4 character 94"
m.join(a";")(b||"")
Actual file on the server:
m.join(a+";")(b||"")
Error in IE Debug Console: "SCRIPT1006: Expected: ')' - jquery.js?ver=1.7.2, line 2 character 148"
d=f("<"">")
Actual file on the server:
d=f("<"+a+">")
They all follow this pattern of missing characters (most often '+' signs). I am completely flummoxed as to what would cause this problem in Internet Explorer and would be relieved to know what's going on, and how to fix it.