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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:53:02+00:00 2026-06-12T23:53:02+00:00

I have a page which contains two textboxes having jquery datepicker added to them

  • 0

I have a page which contains two textboxes having jquery datepicker added to them via

function setDatepickers() {
$('.datepicker').datepicker();
$('.datepicker').attr('date', 'date');
}

The page has text boxes in a bottom position and we need to slightly scroll down to see the text boxes. When I am clicking on the textboxes, it opens datepicker, but its at different VERTICAL positions, like sometime a bit above the input textbox, sometime I need to scroll up to see the datepicker. This is happening only in IE8 and not in Firefox. Firefox 3.6.3 is showing it perfect, almost attached to the input textboxes.

Version of jquery used are:
jquery v1.4.1
jquery UI 1.8.5

I tried to get the values from checkoffset method in it, and found the following results:

        _checkOffset: function (a, c, d) {
        var f = a.dpDiv.outerWidth(),
        j = a.dpDiv.outerHeight(),
        k = a.input ? a.input.outerWidth() : 0,
        l = a.input ? a.input.outerHeight() : 0,
        m = document.documentElement.clientWidth + b(document).scrollLeft(),
        o = document.documentElement.clientHeight + b(document).scrollTop();
        alert(j); alert(k); alert(l); alert(m); alert(o);
        c.left -= this._get(a, "isRTL") ? f - k : 0;
        c.left -= d && c.left == a.input.offset().left ? b(document).scrollLeft() : 0;
        c.top -= d && c.top == a.input.offset().top + l ? b(document).scrollTop() : 0;
        c.left -= Math.min(c.left, c.left + f > m && m > f ? Math.abs(c.left + f - m) : 0);
        c.top -= Math.min(c.top, c.top + j > o && o > j ? Math.abs(j + l) : 0);
        return c
    },

The result from alert is:

IE8:
159
135
25
1132
359

Firefox:
159
136
25
1136
843

Final Div comes at:
Firefox:
Top 582
Left 98

IE:
Top 98,
Left 96

I think the Top property is setting incorrectly in IE8, but not sure what needs to be changed to fix this? Any help is greatly appreciated.

Thanks,
Ashish Jain

  • 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-12T23:53:03+00:00Added an answer on June 12, 2026 at 11:53 pm

    This bug has been fixed in 1.7.2. Its relative to the border-box model in IE8.

    See there for more details: Ticket #5520

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

Sidebar

Related Questions

I have one drop down list in my page, which contains two options. What
In the following HTML page, I have a div, which contains two spans (
I have a page which contains a jQuery-UI horizontal slider, created using a little
I have a form on my page which contains two select dropdowns. The first
I have a wicket page , which contains two Spring-managed beans , one is
I have a JSF page that contains two subviews. Depending on which commandButton is
Situation In my Wicket application, I have a page which contains two tags. Each
I have two GridView s in my Page which contains multiple items. One is
I have a page which contains two forms, both with an unique ID. I
page: http://jsbin.com/eniva4/edit I have one main div: #main-content which contains two div's : #announcement

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.