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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:49:36+00:00 2026-06-04T13:49:36+00:00

To show .timePickr I need to do double hover and move mouse to another

  • 0

To show .timePickr I need to do double hover and move mouse to another place before I see the .timePiker box when I use live event.

How can me make it by one hover ?

$(".timePickr").live('hover', function() {
    $(function(){
        $(".timePickr").timepickr();
    });
});
  • 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-04T13:49:37+00:00Added an answer on June 4, 2026 at 1:49 pm

    The problem is that you’re adding the timepicker to the input after the hover event has been fired. The timepicker won’t be shown until the next time you hover.

    There are two options. Either you trigger the hover event again:

    $(function() {
      $(".timePickr").live('hover', function() {
        $(this).timepickr();
        $(this).hover();
      });
    });
    

    A better option is to move the code to apply the time picker in the document load function, or whenever you dynamically introduce new elements.

    $(function() {
      $(".timePickr").timepickr();
    });
    
    //Somewhere else
    $.get("someurl", null, function(data) {
      $("#some-div").html(data);
      $(".timePickr").timepickr();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SHOW GLOBAL STATUS LIKE 'Created_tmp_disk_tables'. Everytime I run that query through phpmyadmin another disk
Please show me simple example why do we need it and what will happen
I show/hide few images basing on the button clicks in update panel. I use
Show Database Use database show tables Describe <table> All good and well, but is
To show trailing whitespace in Vim, I use the following: highlight whitespaceEOL term=reverse ctermbg=Grey
I show a unicode string from an xml file in a QLabel. I need
show grants for charm@'localhost'; ---------------------+ | Grants for charm@localhost | +-----------------------------------------------------------------------------------------------------------------+ | GRANT USAGE
This .show and .hide works great in Firefox 3 but not in IE 7.
YQL SHOW TABLES has CSV and HTML. What about a table for Apache access
To show the complete list of available colors, one has to click the color

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.