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 5937173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:30:06+00:00 2026-05-22T15:30:06+00:00

As you know, when a user double-click somewhere, Explorer tries to select the nearest

  • 0

As you know, when a user double-click somewhere, Explorer tries to select the nearest objects (such as text, table-row etc.) like the picture below:
enter image description here

User can:

  • select any text with one-click

User can’t

  • select any object with double-click (in other words, when the user double-clicks on the list, jquery should deselect selected area)

So how can I do this? Hope it’s clear.

Note: I use double-click operation to enter the item.

  • 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-05-22T15:30:07+00:00Added an answer on May 22, 2026 at 3:30 pm

    I forgot, this is one of those edge cases where the default action can’t be cancelled in the event. In that case, you might want to use the CSS approach for Firefox and Chrome:

    -moz-user-select: none;
    -webkit-user-select: none;
    

    And for Opera/IE:

    $("#mytable td").prop("unselectable", "on");  // jQuery 1.6+
    $("#mytable td").attr("unselectable", "on");  // jQuery 1.5-
    

    If you want the user to still be able to drag-select, you might want to work in a solution like this:

    $("#mytable td").bind("dblclick", function () {
        var $this = $(this);
        $this.prop("unselectable", "on").css({ 
            "moz-user-select" : "none", 
            "-webkit-user-select" : "none"
        });
    
        window.setTimeout(function () {
            var $this = $(this);
            $this.prop("unselectable", "").css({ 
                "moz-user-select" : "", 
                "-webkit-user-select" : ""
            });
        }, 0);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to check when the user double click on applictaion icon that no
I'm trying to update our installer so a user can simply double-click on a
Does anyone know what end user information a developer receives from Apple regarding a
I need to know when the user finishes editing a cell in an NSTableView.
first time SO user :) I know that I can format a number like
My Vista application needs to know whether the user has launched it as administrator
Let me state first: I know that any user that wants to run a
I know how to create a custom user control in WPF but how can
I know that the MsNLB can be configured to user mulitcast with IGMP. However,
I know that most links should be left up to the end-user to decide

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.