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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:07:14+00:00 2026-05-26T06:07:14+00:00

When I developed a FB application, I tried to get the canvas used javascript

  • 0

When I developed a FB application, I tried to get the canvas used javascript like below:

Work

document.getElementsByTagName('iframe')[1].id
//Output: iframe_canvas

Not Work

window.frames[1].id
//Output: undefined

I don’t know why, after that I looked for the answers on SO, I found the answer and comment for my issue.

Invoking JavaScript code in an iframe from the parent page

But, I really don’t understand why:

You can’t use “window.frames” if your IFRAME was created programmatically, only if it is declared in the HTML page source. Src @Tomalak‘s comment

  • 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-26T06:07:14+00:00Added an answer on May 26, 2026 at 6:07 am

    Because browsers have implemented this in such a way. Things like window.frames were never a part of any standard. This is one of the reasons why they are inconsistent and poor sometimes.

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

Sidebar

Related Questions

In my C++ application (developed with Visual Studio 2003) and Qt4 , I'd like
I developed a Access application using VBA. Everytime I open Access up, I get
Anybody tried here using Getting Real(37Signals) approach to develop windows application? (C#/.NET). Or simply
I have developed application for drawing some shapes (lines mostly) , now i need
I developed an application with different MVCs using the Yii Framework For example I
We developed an application to edit the web.config settings. The user has to locate
I had developed an application in visual Studio 2005. whenever i run that application
I've developed an application (C#) that currently sits on a a number of workstations.
I've developed an application at working using MySQL 5, that uses Views to access
We currently have developed an application using WCF. Our clients make connections to different

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.