Steps to reproduce
in the <head> add:
in myScript.js declare: document.getElementById(‘styles’);
Edge will report that no element is found with id 'styles’.
This works fine in Chrome & Firefox.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
I am not able to repro this issue. Will you provide the extended version of Windows 10 you are using? Win S and type “winver” and hit enter.
I attached my repro html and js files. Let me know if they work for you. Also, you might have to “unblock” the files. Right click and select “unblock” in the bottom right hand corner of the properties page.