Jump to content

Clickable dropdown of w3school does not work properly in Internet Explorer. What can I do?


s2605
 Share

Recommended Posts

 

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...