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

  • Home
  • SEARCH
  • 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 8174897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:34:52+00:00 2026-06-06T22:34:52+00:00

In our web application, we have multiple small applications availables. Let us say A,B,C.

  • 0

In our web application, we have multiple small applications availables. Let us say A,B,C.
“A” using Jquery1.4 version. Which is very successful version. And they developed couple of Components.

So, We Team “B” also want to use same components and jquery version. If they A changed, we need to change accordingly.
Currently we are using iFrames because, some times we need access on “A” applications. Right now, we might not change to Iframe concept.

So, similiary using Iframes, we want to use Project A’s Js and CSS files.
Files are successfully loaded. but Js methods and CSS properties we are unable to access.

Let us give Example:->

I am trying to access any class using Jquery methods,

$(" .ap-bar-section-Accounts")[2].click();

As per comments, i added script tag for iFrame jquery url

<script type="text/javascript" src="A's location of jquery></script>

But, i am getting error “$” is undefined. but, if i see IE Debugger tool, i can see Jquery file loaded.
What could be the reason. If u need any further details, let me know. Same code working in firefox and mozilla

As per comments,
i am confirming both servers related to https only.

  • 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-06T22:34:54+00:00Added an answer on June 6, 2026 at 10:34 pm

    Your example code is invalid jQuery

     $(" .ap-bar-section-Accounts")[2]// returns DOM node
    

    Should be

     $(".ap-bar-section-Accounts").eq(2).click();
    

    Before binding any code to iFrame events from parent page, make sure iFrame has loaded

    $(function(){
        var $frame=$('#iframeId');
        $frame.load(function(){
             $frameBody= $(this).contents().find('body');
             $frameBody.find$(".ap-bar-section-Accounts").eq(2).click();
        });
    })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have multiple WPF, Silverlight and web applications most of which go through our
For our Kunagi Java web application we have a signed kunagi.jar file which contains
In our web-application we manage our continuous integration using TeamCity. So far we have
We have a staging version of our web application (it is basically a subversion
We already have build scripts that creates our web application folders very nicely. We
As part of our web application's build process, I have set up our XSLT
Requirements: On a web page in our web application, we have a requirement to
We have a requirement to control access to our SaaS based web application based
I have a web application that works in our stage/test environment fine but once
We have an n-tier web application that pulls data from SQL Server. Our Data

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.