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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:51:01+00:00 2026-05-28T18:51:01+00:00

I am using this picker for my projects and I need to change the

  • 0

I am using this picker for my projects and I need to change the z index value of the picker, since its popping up behind a modal window, I want to increase the z index of the datetimepicker. I have currently added the zIndex propert inside the definition of the datetimepicker like this

jQuery(function() {
                       jQuery( "#from_date" ).datetimepicker({ dateFormat: 'yy-mm-dd',
                           showOn: "button",
                           zIndex:9999,
                            buttonImage: "/gra/images/icons/fugue/calendar-month.png",
                           buttonImageOnly: true });
               });

which is higher than the z index of the popup dialog inside which the datepicker button is placed but its not coming on top.
Which other places in the css style do I need to set the z index value apart from the definition?

Update: I used Firebug and found out the cause, but not the solution. The dialog box z-index is 1001, which I know as I have set that in the css. But the date-picker z-index value is 91 and I tried to search the class ui-datepicker-div but cannot find any class which has z-index value of 91 right now, there was a #search class with zindex as 91, and I changed it to 9999 (thinking thats the one its inheriting from), but it still again shows the value 91 in firebug..??
The classes associated wit the datepicker html component are

<div id="" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" ... z-index=91....>
<html for date picker>
</div>
  • 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-28T18:51:02+00:00Added an answer on May 28, 2026 at 6:51 pm

    Here is the big problem with zIndices.

    <div style='position:relative'id="global-container">
        <div style='position:relative;z-index:1'id="container-1">
            <div style='position:relative;z-index:50'id="content-1"> content 1 </div>
        </div>
        <div style='position:relative;z-index:2'id="container-2">
            <div style='position:relative;z-index:2'id="content-2"> content 2 </div>
        </div>
    </div>
    

    You may assume that #content-2 will appear below #content-1 but the problem is that z-indices are compared within their relative containers. So the z-indices taken into count are #container-1 and #container-2. I would suggest a layer just for popups. Something with an incredibly high z-index that is within the global container. No matter what then it will override.

    Now in ie7, as far as i can tell, its just whoever has highest z-index, but in modern browsers it depends on the entire chain, hence ui layer is needed for popups.

    Youtube iframes will just dominate any z-index popups, at least i cannot figure out how to get around that… yet.

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

Sidebar

Related Questions

i'm using this control for date picker. i want that when user click on
This should hopefully be a simple one. When using a date time picker in
Using this file as source, I have a situation where I need to retrieve
I am using Jonathan Leighton's Date Picker Plugin (Input Date) URl : http://jonathanleighton.com/projects/date-input The
I think the following is a basic problem. I using this number Picker as
I am using jquery date picker in rails project, I want to disable the
I'm currently working on a multi image picker control. I'm using this Allow user
Using this question as the base is there an alogrithm or coding example to
Using this answer , I created a sample localized app. My question is, is
Using this: Can I use Facebook's fb:friend-selector in an iframe? I created a multi-friend

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.