Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8233407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:07:16+00:00 2026-06-07T18:07:16+00:00

Using a regular HTML select box : <select> <option value=>click to select a task

  • 0

Using a regular HTML select box :

<select>
    <option value="">click to select a task type</option>
    <option value="">Awesome Option</option>

When using this jQuery :

  $("select, option").live({
    mouseenter: function(){
      console.log("INSIDE");
    },
    mouseleave: function(){
      console.log("OUTSIDE");
    }
  });

When I click the select box, and mouse over any of the options, IE will respond with my mouse is “Outside”.

Is there a work around for that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T18:07:18+00:00Added an answer on June 7, 2026 at 6:07 pm

    Nothing happens when you bind the event to just option. I don’t think you can bind events to that. Or, if you can, not all events; click for sure and apparently these too.

    The behavior makes sense as you really are moving your mouse outside of the select element when you move down to select an option. The browser/OS handles displaying the menu. And it’s not just IE that does this. Chrome, too.

    I would recommend using the blur event as it fires when the element loses focus. This will only fire when you click outside and close the menu.

     $("select").live({
        mouseenter: function(){
          console.log("INSIDE");
        },
        blur: function(){
          console.log("OUTSIDE");
        }
      });
    

    DEMO

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

test.php - Using regular IDE(phpDesigner7) <head> <meta http-equiv=content-type content=text/html; charset=iso-8859-1 /> </head> <body> <?php
I've been doing some HTML scraping in PHP using regular expressions. This works, but
I'm trying to make a simple Python-based HTML parser using regular expressions. My problem
I'm using the following regular expression to march hrefs on a web page. \/static\/workout\/[A-Z]{1,4}032812[A-Z]{1,5}-EQB.html
Instead of using an input type=file html tag, is it possible to bring up
I'm trying to capture certain parts of HTML using regular expressions, and I've come
Greetings, By using the regular selector, I am able to select the grand parent
I am using an application required by this project that must utilize regular expression
How do I parse HTML using regular expressions in C#? For example, given HTML
Being comfortable with using html, I find it easier to just use regular html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.