Jump to content
s2605

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

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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...