I am new to coding and in my first year of university studying Web Technologies. For my web assignment I had to create a web application which would allow the user to set different preferences for careers and display the careers which match the preferences.
Anyway I have managed to do this but I have a problem in Internet Explorer, my site works fine in Safari, Chrome and Firefox. However, in IE when you press my search button no JavaScript seems to run. I have debugged my site in IE and it has come up with an error for this section of code:
var resetBtn = document.getElementById("resetBtn");
resetBtn.addEventListener("click", reset, false);
The error occurs on the second line and the message is:
Object doesn't support property or method
What do I have to do to fix the error?
Thank You