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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:54:08+00:00 2026-05-20T18:54:08+00:00

I have isolated very strange bug from our current project: index.html (demo) and iframe.html

  • 0

I have isolated very strange bug from our current project:

index.html (demo) and iframe.html

do:

1) click at the first input and select any date

you will see – “datepicker changed inside iframe!”

2) click at the second input, write some symbols and press at any free space at the page

you will see – “usual_input changed inside iframe!” + “usual_input changed outside iframe!”

inside iframe:

<input id="datepicker" /> <input id="usual_input" />

binded at index.html to the change event at this inputs:

$(this).contents().find("#datepicker").change(... (1)
$(this).contents().find("#usual_input").change(... (2)

binded at iframe.html to the change event at this inputs:

$("#datepicker").change(... (3)
$("#usual_input").change(... (4)

But №1 dont work in any browser!

jquery ui’s datepicker trigger change event 100% correctly. why we cant bind to it outside an iframe?

  • 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-20T18:54:09+00:00Added an answer on May 20, 2026 at 6:54 pm

    You can access the window element of the iframe by:

    $(this)[0].contentWindow.$("#datepicker")
    

    Or this might work too:

    this.contentWindow.$("#datepicker");
    

    I hope that helped.

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

Sidebar

Related Questions

I have a question concerning dependency injection. I have been keeping it simple so
I encountered a strange issue while coding a .dll file in C with gcc
I have two search buttons on a page, one linked to a dropdown list
I have been looking all over the Internet for an answer to this question
Apple clearly has this automated in some way, I would like to have access
Have the following scenario. I have a few form, which essentially have a few
have anyone found a substitution for RJS in Ruby on Rails for play? P.S.
I believe the issue below relates to variable scope, although I may be mistaken.
My website uses old-school Java applets for a key piece of content. As the
I'm having an odd problem with asp.net MVC razor view. I want my model

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.