I've inserted a clickable dropdown on my site. In FireFox and Chrome, the menu closes when you click outside the menu. This does not work with Internet Explorer. I have taken this code from w3school.com (the same problem on the page):
https://www.w3schools.com/howto/howto_js_dropdown.asp
What can I do to make it work on the Internet Expolorer the same as in FireFox and Chrome?
Thanks for your help.