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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:46:42+00:00 2026-06-14T11:46:42+00:00

Possible Duplicate: Is right click a Javascript event? I’m searching an JavaScript event, i

  • 0

Possible Duplicate:
Is right click a Javascript event?

I’m searching an JavaScript event, i can use for the addEventListener(‘event’,…) method.

I know there is click and dblclick. but is there an equal event for
right click and for double right click?

  • 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-14T11:46:44+00:00Added an answer on June 14, 2026 at 11:46 am

    First of all, a click is triggered by a click, which is basically a mousedown followed by a mouseup in the same place, of the primary mouse button (usually left).

    A right-click does not count as a click for the purposes of the event. However, it still registers mousedown and mouseup events, and you can check the Event.which property to see if it’s the right mouse button being pressed. Alternatively, you may be able to use oncontextmenu, which in some cases can be considered the same as a right-click.

    That still leaves the problem of a double-right-click, though. For this to work, you would need to measure the time between two right-clicks, and if you deem it short enough to be a double click, then handle it as such. It’s a very complex setup, but double-right-clicks are not user-friendly at all so perhaps you should consider an alternative input?

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

Sidebar

Related Questions

Possible Duplicate: How to detect right mouse click + paste using JavaScript? How to
Possible Duplicate: JavaScript Event Listeners vs Event Handlers element.onload vs element.addEventListener(“load”,callbak,false) I've read this
Possible Duplicate: What’s the Right Way to use the rand() Function in C++? When
Possible Duplicate: javascript hide/show element How to hide or show div on click in
Possible Duplicate: Android Left to Right slide animation Can i make the screen that
Possible Duplicate: Is there an attribute I can add to a class so it
Possible Duplicate: UI Terminology: Logon vs Login Which is the right one to use
Possible Duplicate: How to distinguish between left and right mouse click with jQuery? On
Possible Duplicate: Exception right off the bat I'm trying to use a dashboard fragment
Possible Duplicate: How do I disable right click on my web page? Say I

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.