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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:26:30+00:00 2026-05-27T12:26:30+00:00

I want to diffrentciate 2 timepickers. Before, both timepickers were displayed in one textbox.

  • 0

I want to diffrentciate 2 timepickers. Before, both timepickers were displayed in one textbox. Now both timepickers are displayed with the right textbox. But there is one problem, I want one text box (duration text box) to display the trent richardson jquery timepicker and I want the other text box (start time text box) to display the francois gelinas timepicker.

At the moment both textboxes uses the trent richardson timepicker but I do not know how to seperate both timepickers in my function so that the code knows which timeicker is trent’s and the other is francois’s.

The jquery and html code is below:

        $(function() {
            $('#timepicker').timepicker({ //francois timepicker
        showOn: 'button',
        button: '.timepicker_button_trigger'});


            $('#durationpicker').timepicker({ //trent's timepicker

                });

        });

     <form action="QandATable.php" method="post" id="sessionForm">


<p><strong>3: Duration:</strong> <input type="text" id="durationpicker" name="durationChosen" readonly="readonly" /></span>

<p><strong>5: Start Time:</strong> <input type="text" id="timepicker" name="timeChosen" readonly="readonly" /><span class="timepicker_button_trigger"><img src="Images/clock.gif" alt="Decrease" /></span>
                <br/><span id="dateTimeAlert"></span></p>
    </form>

to look at trent’s timepicker, click here (he has one which is date and timepicker and further down the page he just has timepicker).

To look at francois’s timepcker click here (this timepicker is better for picking time but it does not contain seconds while trent’s does)

  • 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-27T12:26:31+00:00Added an answer on May 27, 2026 at 12:26 pm

    assuming they both follow good jquery plugin guidelines, they will both be setting the same $.fn.timepicker object to their own method. To use both plugins, I think you will have to change one of them in the source code to something else…

    in the plugin…

    $.fn.trentTime = function(){ ... }
    

    and in your code…

    $('#durationpicker').trentTime({ ... });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

want to ask user to input something but not want to wait forever. There
I want users to be able to use one search box to search for
Want the function to sort the table by HP but if duplicate HPs then
Want to send the text from my current vb application to the Active Window
Is there a way to test a string, such as the one below to
I want to know if there exists a way to differentiate a md5 hashcode
I've got a Method that gets a IDictionary as a parameter. Now I want
I want to differentiate the visual aspect of a usercontrol, but using the same
I want to override the templates/admin/change_list_results.html and templates/admin/change_list.html templates for just one of my
I want to know if there is a way to differentiate between the user

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.