Solving problems with Javascript and IE8

I had a strange problem, a jQuery plugin was not showing up in IE8.

When I checked in IE11, no issue but when I went into IE8 mode, the plugin didn’t seem to run.

After some experiments, I realised that IE8 wasn’t actually loading the Javascript I had written.

The solution?

Change my Javascript ta