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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:23:47+00:00 2026-05-24T19:23:47+00:00

Hopefully someone here can help me with this challenge! I have a parent page

  • 0

Hopefully someone here can help me with this challenge!
I have a parent page which is the checkout page for an e-commerce site. It’s run on zencart and for every order placed a table row is generated through ZenCart. I’ve setup an EACH function which generates an iframe for an artwork uploader for each TR (order) found. The uploader works and the correct number of instances are being generated.

I wanted to avoid an iFrame, but the uploader script I purchased will not permit me to load it directly into the zencart page template, or via AJAX (tried both). There’s some kind of major resource/path situation going on when doing it this way… so I’ve resorted to iframes.

I’m able to call JS on file-upload-complete. At that point I’m trying to capture the name of the filename that was just uploaded and place it inside the TR. The problem I’m running into are permission error when trying to access the iframe contents.

I’ve tried everything I’ve come across on this site and many others, so believe it isn’t a problem with the selectors/frame selection… Firebug is telling me that I’m getting permission errors when trying to access the iframe, yet they’re both on the same domain and the src is being set by a relative path….

I’m completely lost, any suggestions would be appreciated! Thanks!
http://www.prothings.com/store
Add items to the cart and go to checkout…..

  • 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-24T19:23:47+00:00Added an answer on May 24, 2026 at 7:23 pm

    when you want to access main window or window.document from inside an iframe you should change the context by using window.parent
    For example when you want to append some text to a div, you should do something like this

    window.parent.$.('#theDiv').text('the text');
    

    There is a bug in IE when you run the code from inside the iframe and remove the iframe in between. IE can’t run the code in the fly

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

Sidebar

Related Questions

everyone, i have no idea why this doesn't work hopefully someone here can help
Hopefully someone can help here, it's incredibly frustrating! I have a couple of iOS
Hopefully someone here can help me out - basically I have a logging class
Hopefully someone can help here. I have a ListView that is populated by a
Hopefully, someone here can give me some light. I have been researching this issue
Hopefully someone can help out here; I am trying to write a function which
Alright, hopefully someone can help me with this because I'm at a loss here.
Hopefully someone can help me here. I use a login page everyday given by
Not too familiar with GSA here so hopefully someone can help me. Have a
Hopefully someone here can help me! I'm trying to set up fancybox so when

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.