My JavaScript isn't connecting to my HTML correctly. I'm using the sites inbuilt static file connection function on the web tab in order to store a directory path. I've then used this in order to to link my CSS and JS files to my HTML. My CSS is working fine but my JS code isn't running. After looking in my browsers console a few errors have been flagged up with most of them being security errors. But I'm only trying to display a BBC page through an iframe. The general gist of my code is that the html contains 4 different modals all of which contain specific iframes. The user selects an option from a drop down box which each has a corresponding value of 1 - 4. This value is taken and using if statements in my JS the correct modal is displayed.