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

  • SEARCH
  • Home
  • 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 7646121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:07:40+00:00 2026-05-31T10:07:40+00:00

The jQuery .hover() event seems to work fine on mobile devices (testing it on

  • 0

The jQuery .hover() event seems to work fine on mobile devices (testing it on iOS 5.1 Safari) as long as it’s not on a anchor element <a>. Work fine means it will trigger the hover handler that is bound on it.

But, when the hover event is on <a>, the browser is redirected to the URL from href instead.

I want it to hover first on first touch (run the event handler) before it’s being redirected (trigger the click) on second touch. Is there any way of doing this?

  • 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-31T10:07:41+00:00Added an answer on May 31, 2026 at 10:07 am

    You must add an event handler to the link that changes something about the DOM (like toggling a class to change background colors, etc.)

    From the Mobile Safari docs:

    Mouse events are delivered in the same order you’d expect in other web
    browsers illustrated in Figure 6-4. If the user taps a nonclickable
    element, no events are generated. If the user taps a clickable
    element, events arrive in this order: mouseover, mousemove, mousedown,
    mouseup, and click. The mouseout event occurs only if the user taps on
    another clickable item. Also, if the contents of the page changes on
    the mousemove event, no subsequent events in the sequence are sent.
    This behavior allows the user to tap in the new content

    Figure 6-4

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

Sidebar

Related Questions

How do I unbind hover in jQuery? This does not work: $(this).unbind('hover');
since I've upgraded to jQuery 1.7, the hoverIntent event does not work anymore on
I want to trigger a hover event for an element using jQuery, but I
I have a div that I have bound the jQuery hover event to activate
I would like to delay a hover event in jquery. I am reading from
EDIT: 1 The following does not work, even after clearing browser cache: .ui-state-hover {background-image:none;background-color:red;color:red;padding:50px;margin:50px;}
I use the following jquery statements, $(.resultsdiv:odd).css(background-color, #fff); $(.resultsdiv:even).css(background-color, #EFF1F1); $('.resultsdiv').hover(function() { $(this).css('background-color', '#f4f2f2');
I'm having some trouble with the jQuery hover method. Here's the relevant JavaScript code:
I have a strange issue with jQuery's hover, addClass $(document).ready(function(){ $('#selectable li').hover( function(){ $(this).addClass('selecting',
i create a menu and i show and hide submenu on jquery via hover

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.