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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:28:40+00:00 2026-06-06T01:28:40+00:00

im working on my code, its work’s but the action (insert of css) is

  • 0

im working on my code, its work’s but the action (insert of css) is to late in the actions.

jQuery(document).ready(function() {

     jQuery("#cal2tozindex").click(function() {
      jQuery("#cal2tozindex").css('z-index','1000');
      jQuery("#cal3tozindex").css('z-index','1');
     });

     jQuery("#cal3tozindex").click(function() {
      jQuery("#cal3tozindex").css('z-index','1000');
      jQuery("#cal2tozindex").css('z-index','1');
     });

});

There is the url, you can go on your right in the section, and click on the bleu button with a plane on it named ‘vols’.
http://www.voyagesendirect.me/multisites/esther/

What I want :

When you click on the first field : ‘date de départ’ (cal2tozindex) he
should became with a z-index:1000; and the other field : ‘date de
retour’ (cal3tozindex) should be with z-index:1;

Same patern with you click on the second field.

My actual problem :

The insert of css is to late, the javascript put the css, after you click on a date, and not when you click on the field first. I really need that the code work’s on the first click (on the field) and not on the second one (on a date).

Thanks to everybody to helping me solving this problem !

  • 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-06T01:28:42+00:00Added an answer on June 6, 2026 at 1:28 am
    jQuery(document).ready(function() {        
        jQuery("#date_dep_calFLT").focus(function() {
        jQuery("#cal2tozindex").css('z-index','1000');
        jQuery("#cal3tozindex").css('z-index','1');
    });
    jQuery("#bt-cal_FLT").click(function() {
        jQuery("#cal2tozindex").css('z-index','1000');
        jQuery("#cal3tozindex").css('z-index','1');
    });
    
    jQuery("#date_ret_calFLT").focus(function() {
        jQuery("#cal3tozindex").css('z-index','1000');
        jQuery("#cal2tozindex").css('z-index','1');
    });
    
    jQuery("#bt-cal_FLT_ret").click(function() {
        jQuery("#cal3tozindex").css('z-index','1000');
        jQuery("#cal2tozindex").css('z-index','1');
    });
    

    });

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

Sidebar

Related Questions

Got this line of code here but its not working. private void Button_Click(object sender,
Hi I wrote a code to read from the database and its working. but
I am trying to execute this code for a listbox but its not working,
here i am having working code for printing and print preview ,but its not
I want to display data from database in DataGridView...This is my code...Its not working...Can
please try this link for getting my code. its working in all browsers not
I have the following code and it's working (as usual) in everything but IE.
i have implemented code like here but it's not working for iOS 5.0, it
i have tried this code to redirect a php page.but it s not working
I'm working on a legacy vb.net application that does most of its work using

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.