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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:36:03+00:00 2026-06-04T17:36:03+00:00

Below is a code snippet of some frames I am trying to traverse using

  • 0

Below is a code snippet of some frames I am trying to traverse using the DOM in javascript. I can use document.getElementById('raiseConfirm').click() in FF and IE. It will not work in safari. I have tried a multitude of different things to try and get to the anchor with the ID raiseConfirm. It looks as if document.getElementById() in this case doesn’t find any of the elements in this frame. I have tried window.document, self.document, contentWindow,contentDocument, I have tried naming the frame like this, window.frames['gvdd'].document, and when I test this, the document is an object and has things in it, but as soon as I try to use the function getElementById() on it, it returns undefined or null.

Can anyone point me to the correct solution?

  <form method=​"POST" 
        action=​"somescript.asp?CMD=POST&​TODO=TRUE2" 
        id=​"FORMSV2DISPLAY"
        name=​"FORMSV2DISPLAY">​
    <a id=​"raiseConfirm" href=​"#divConfirm" class=​"nyroModal">HERE IT IS​</a> 
    <div id="divConfirm" style=​"display:​none;​">​…​</div>​ 
  • 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-04T17:36:05+00:00Added an answer on June 4, 2026 at 5:36 pm

    I tried to say this before and it posted weirdly. I was able to fix this problem using JQuery and this is what I did.

          $("#raiseConfirm").trigger("click");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am trying to implement curl effect by using below code snippet curl down
The code snippet shown below is supposed to be used to retrieve some data
The below code snippet leaks when i am trying the build and analyse thing.
The below code snippet best explains what I am trying to achieve: [Test] public
Can anyone tell the block animation equivalent of this below code snippet? [UIView beginAnimations:@View
I've been using the below sample code snippet to update a SQL Server 2005
I'd like some help understanding the code snippet below. Specifically I'd like to know
I am using the below code snippet to FTP simple text files from a
I saw some code snippet like below: process.stdin.on('keypress', function(c, key){ if (key && 'enter'
Which code snippet will give better performance? The below code segments were written in

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.