s2605 Posted May 8, 2017 Share Posted May 8, 2017 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. Link to comment Share on other sites More sharing options...
dsonesuk Posted May 8, 2017 Share Posted May 8, 2017 Microsoft as usual thinking its GOD, and that every browser should do as they want not like other BETTER browsers, came out there own version for (event.target.matches) which apparently the link example know nothing about, I have reported this problem several months ago, but still no update. This was brought up here (second from bottom for fix) http://w3schools.invisionzone.com/index.php?/topic/56627-how-i-use-this-script-for-2-functions-same-works/#comment-311543 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now